mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +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:
committed by
Linus Groh
parent
f7e747b68e
commit
6aea60e6ee
@@ -575,6 +575,16 @@ void OutOfProcessWebView::set_is_webdriver_active(bool is_webdriver_enabled)
|
||||
client().async_set_is_webdriver_active(is_webdriver_enabled);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_window_position(Gfx::IntPoint const& position)
|
||||
{
|
||||
client().async_set_window_position(position);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_window_size(Gfx::IntSize const& size)
|
||||
{
|
||||
client().async_set_window_size(size);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::focusin_event(GUI::FocusEvent&)
|
||||
{
|
||||
client().async_set_has_focus(true);
|
||||
|
||||
Reference in New Issue
Block a user