1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +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:
Timothy Flynn 2022-11-01 14:55:53 -04:00 committed by Linus Groh
parent f7e747b68e
commit 6aea60e6ee
8 changed files with 51 additions and 0 deletions

View file

@ -60,6 +60,9 @@ endpoint WebContentServer
set_is_scripting_enabled(bool is_scripting_enabled) =|
set_is_webdriver_active(bool is_webdriver_active) =|
set_window_position(Gfx::IntPoint position) =|
set_window_size(Gfx::IntSize size) =|
get_local_storage_entries() => (OrderedHashMap<String,String> entries)
get_session_storage_entries() => (OrderedHashMap<String,String> entries)