summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWebView/ViewImplementation.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-11-09 10:04:09 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-09 19:59:26 +0000
commit1c398b32ce022161dc96da7c036e28bb3691d5c7 (patch)
treea81fd352f7e362fc6e87be1ec7d7f23426604b17 /Userland/Libraries/LibWebView/ViewImplementation.h
parentb57d7e43326437d143708dd18025533cd8b0d8c6 (diff)
downloadserenity-1c398b32ce022161dc96da7c036e28bb3691d5c7.zip
Browser+LibWebView+WebContent: Add IPC to minimize and maximize window
Requests to maximize and minimize Browser windows will be coming from the WebContent process rather than the WebDriver process. Add hooks to propagate these requests back up to the Browser.
Diffstat (limited to 'Userland/Libraries/LibWebView/ViewImplementation.h')
-rw-r--r--Userland/Libraries/LibWebView/ViewImplementation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWebView/ViewImplementation.h b/Userland/Libraries/LibWebView/ViewImplementation.h
index 306442428a..6294114da7 100644
--- a/Userland/Libraries/LibWebView/ViewImplementation.h
+++ b/Userland/Libraries/LibWebView/ViewImplementation.h
@@ -53,6 +53,8 @@ public:
virtual void notify_server_did_request_restore_window() = 0;
virtual Gfx::IntPoint notify_server_did_request_reposition_window(Gfx::IntPoint const&) = 0;
virtual Gfx::IntSize notify_server_did_request_resize_window(Gfx::IntSize const&) = 0;
+ virtual Gfx::IntRect notify_server_did_request_maximize_window() = 0;
+ virtual Gfx::IntRect notify_server_did_request_minimize_window() = 0;
virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) = 0;
};