aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/BrowserWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/widgets/BrowserWindow.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/BrowserWindow.hpp b/src/widgets/BrowserWindow.hpp
index de48c6e..2842983 100644
--- a/src/widgets/BrowserWindow.hpp
+++ b/src/widgets/BrowserWindow.hpp
@@ -38,7 +38,8 @@ 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 run_javascript(const QString &js_code, WebViewId webview_id);
+ void run_javascript(const QString &js_code, WebViewId webview_id,
+ const JsOnResultFunc &on_result);
void expose_rpc_function(const QString &name, const RpcFunc &action, WebViewId webview_id);
void reload(WebViewId webview_id);