From 8604765c3660dbea9cae6996d5750bfb985e6751 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 27 Jul 2025 20:21:07 +0530 Subject: Add web.view.run_js + change rpc js api --- src/widgets/Decorations.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/Decorations.hpp') diff --git a/src/widgets/Decorations.hpp b/src/widgets/Decorations.hpp index 9788359..97e0415 100644 --- a/src/widgets/Decorations.hpp +++ b/src/widgets/Decorations.hpp @@ -29,6 +29,7 @@ public: bool has_webview(WebViewId view_id) override; void open_url(const QUrl &url, OpenType open_type, WebViewId view_id) override; void set_html(const QString &html, WebViewId view_id) override; + void run_javascript(const QString &js_code, WebViewId webview_id) override; void expose_rpc_function(const QString &name, const RpcFunc &action, WebViewId webview_id) override; -- cgit v1.3.1