From b0f598910f1f8bc8db6b65a0f01b1950ed7c3841 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 26 Jul 2025 16:59:35 +0530 Subject: Add web.view.expose for simple lua->js interop in decorations --- src/widgets/BrowserWindow.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/BrowserWindow.hpp') diff --git a/src/widgets/BrowserWindow.hpp b/src/widgets/BrowserWindow.hpp index e434521..3dc9e69 100644 --- a/src/widgets/BrowserWindow.hpp +++ b/src/widgets/BrowserWindow.hpp @@ -38,6 +38,7 @@ public: bool has_webview(WebViewId webview_id); void open_url(const QUrl &url, OpenType open_type, WebViewId webview_id); void set_html(const QString &html, WebViewId webview_id); + void expose_rpc_function(const QString &name, const RpcFunc &action, WebViewId webview_id); bool on_window_key_event(QKeyEvent *event); -- cgit v1.3.1