1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +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:
Timothy Flynn 2022-11-09 10:04:09 -05:00 committed by Linus Groh
parent b57d7e4332
commit 1c398b32ce
7 changed files with 45 additions and 0 deletions

View file

@ -64,6 +64,8 @@ private:
virtual void did_request_restore_window() override;
virtual Messages::WebContentClient::DidRequestRepositionWindowResponse did_request_reposition_window(Gfx::IntPoint const&) override;
virtual Messages::WebContentClient::DidRequestResizeWindowResponse did_request_resize_window(Gfx::IntSize const&) override;
virtual Messages::WebContentClient::DidRequestMaximizeWindowResponse did_request_maximize_window() override;
virtual Messages::WebContentClient::DidRequestMinimizeWindowResponse did_request_minimize_window() override;
virtual void did_request_file(String const& path, i32) override;
ViewImplementation& m_view;