aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebView.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-27 14:54:56 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-27 14:54:56 +0530
commit9ece6a733f0c3bfd518ee14f520aed70124fac12 (patch)
tree54d045b187d39bf05c6f2653adb78bf2088f45ce /src/widgets/WebView.hpp
parentf13a1a1c4eab8bdef3760dd71cd7e2b3cc68a3e8 (diff)
downloadnull-browser-9ece6a733f0c3bfd518ee14f520aed70124fac12.tar.gz
null-browser-9ece6a733f0c3bfd518ee14f520aed70124fac12.zip
Add more tests for api + webview + webviewstack
Diffstat (limited to 'src/widgets/WebView.hpp')
-rw-r--r--src/widgets/WebView.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/WebView.hpp b/src/widgets/WebView.hpp
index 5be9831..7a767d3 100644
--- a/src/widgets/WebView.hpp
+++ b/src/widgets/WebView.hpp
@@ -12,6 +12,7 @@
#include <qurlquery.h>
#include <unordered_map>
+#include "schemes/NullRpcSchemeHandler.hpp"
#include "utils.hpp"
#include "widgets/DevtoolsWindow.hpp"
@@ -36,6 +37,7 @@ private:
uint32_t id;
DevtoolsWindow *devtools_window = nullptr;
std::unordered_map<QString, RpcFunc> exposed_functions;
+ bool rpc_enabled = false;
- void on_rpc_message(const QString &action, const QUrlQuery &params);
+ void on_rpc_message(const NullRPCMessage &message);
};