diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-20 12:57:07 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-05-02 16:15:17 +0530 |
| commit | b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748 (patch) | |
| tree | 7f18775a63594acf0187668af63766dd72b9f66f /src/WindowMediator.hpp | |
| parent | 75157006bf6f1176f64e87695343980b16908bb6 (diff) | |
| download | null-browser-b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748.tar.gz null-browser-b4b6a646b3a7a7f6c7e990c67f208b76f4b5f748.zip | |
Refactor + expose managing mode to inside lua
Diffstat (limited to 'src/WindowMediator.hpp')
| -rw-r--r-- | src/WindowMediator.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WindowMediator.hpp b/src/WindowMediator.hpp index 2e341c0..6046292 100644 --- a/src/WindowMediator.hpp +++ b/src/WindowMediator.hpp @@ -18,13 +18,13 @@ public: DELEGATE(webview_stack, get_webview_list, get_webview_list) DELEGATE(webview_stack, set_search_text, set_search_text) DELEGATE(webview_stack, open_devtools, open_devtools) + DELEGATE(webview_stack, open_url, open_url) + DELEGATE(webview_stack, webview_history_back, history_back) + DELEGATE(webview_stack, webview_history_forward, history_forward) + DELEGATE(webview_stack, close, close_webview) + DELEGATE(webview_stack, focus_webview, select_webview) signals: - void history_back_requested(WebViewId webview_id, qsizetype history_index); - void history_forward_requested(WebViewId webview_id, qsizetype history_index); - void url_opened(QString url, OpenType open_type, WebViewId webview_id); - void webview_closed(WebViewId webview_id); - void webview_selected(WebViewId webview_id); void new_window_requested(const QUrl &url); void close_window_requested(); |
