summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebContentClient.ipc
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/Services/WebContent/WebContentClient.ipc
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/Services/WebContent/WebContentClient.ipc')
-rw-r--r--Userland/Services/WebContent/WebContentClient.ipc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/WebContentClient.ipc b/Userland/Services/WebContent/WebContentClient.ipc
index 104c642089..bfe319b0b8 100644
--- a/Userland/Services/WebContent/WebContentClient.ipc
+++ b/Userland/Services/WebContent/WebContentClient.ipc
@@ -41,6 +41,8 @@ endpoint WebContentClient
did_request_restore_window() =|
did_request_reposition_window(Gfx::IntPoint position) => (Gfx::IntPoint window_position)
did_request_resize_window(Gfx::IntSize size) => (Gfx::IntSize window_size)
+ did_request_maximize_window() => (Gfx::IntRect window_rect)
+ did_request_minimize_window() => (Gfx::IntRect window_rect)
did_request_file(String path, i32 request_id) =|
did_output_js_console_message(i32 message_index) =|