diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-27 14:54:56 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-27 14:54:56 +0530 |
| commit | 9ece6a733f0c3bfd518ee14f520aed70124fac12 (patch) | |
| tree | 54d045b187d39bf05c6f2653adb78bf2088f45ce /src/widgets/WebView.hpp | |
| parent | f13a1a1c4eab8bdef3760dd71cd7e2b3cc68a3e8 (diff) | |
| download | null-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.hpp | 4 |
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 ¶ms); + void on_rpc_message(const NullRPCMessage &message); }; |
