mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:07:35 +00:00
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.
This commit is contained in:
parent
b57d7e4332
commit
1c398b32ce
7 changed files with 45 additions and 0 deletions
|
@ -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) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue