mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb+LibWebView+WebContent: Add IPC to receive window position/size
This information will have to come from the Browser application. This adds IPCs to receive that information when it is available or changes.
This commit is contained in:
parent
f7e747b68e
commit
6aea60e6ee
8 changed files with 51 additions and 0 deletions
|
@ -72,6 +72,9 @@ public:
|
|||
void set_preferred_color_scheme(Web::CSS::PreferredColorScheme);
|
||||
void set_is_webdriver_active(bool);
|
||||
|
||||
void set_window_position(Gfx::IntPoint const&);
|
||||
void set_window_size(Gfx::IntSize const&);
|
||||
|
||||
Function<void(Gfx::IntPoint const& screen_position)> on_context_menu_request;
|
||||
Function<void(const AK::URL&, String const& target, unsigned modifiers)> on_link_click;
|
||||
Function<void(const AK::URL&, Gfx::IntPoint const& screen_position)> on_link_context_menu_request;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue