diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-25 13:13:02 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-25 18:20:18 +0530 |
| commit | 4cbaaae7c55e71d2d4db591029394812077eb844 (patch) | |
| tree | 23574a00f4790332e9aafb4fd86fbc046c0ed85a /src/InputMediator.hpp | |
| parent | 346c16b4e2ea26f47e0e370a490b7794492a9ebb (diff) | |
| download | null-browser-4cbaaae7c55e71d2d4db591029394812077eb844.tar.gz null-browser-4cbaaae7c55e71d2d4db591029394812077eb844.zip | |
Add web.history for history navigation
Diffstat (limited to 'src/InputMediator.hpp')
| -rw-r--r-- | src/InputMediator.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/InputMediator.hpp b/src/InputMediator.hpp index 2cd34f2..5933bd7 100644 --- a/src/InputMediator.hpp +++ b/src/InputMediator.hpp @@ -12,15 +12,15 @@ class InputMediator : public QObject { Q_OBJECT public: - InputMediator(WebViewStack *web_view_stack, LuaRuntime *lua_runtime, + InputMediator(WebViewStack *webview_stack, LuaRuntime *lua_runtime, KeymapEvaluator *keymap_evaluator); ~InputMediator() override; - DELEGATE(web_view_stack, open_url, open_url) - DELEGATE(web_view_stack, current_url, current_url) - DELEGATE(web_view_stack, next, next_web_view) - DELEGATE(web_view_stack, previous, previous_web_view) - DELEGATE(web_view_stack, close_current, close_current_web_view) + DELEGATE(webview_stack, open_url, open_url) + DELEGATE(webview_stack, current_url, current_url) + DELEGATE(webview_stack, next, next_webview) + DELEGATE(webview_stack, previous, previous_webview) + DELEGATE(webview_stack, close_current, close_current_webview) DELEGATE(keymap_evaluator, evaluate, evaluate_keymap) protected: @@ -28,7 +28,7 @@ protected: std::function<void()> action); private: - WebViewStack *web_view_stack; + WebViewStack *webview_stack; LuaRuntime *lua_runtime; KeymapEvaluator *keymap_evaluator; }; |
