1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call

This call sets the absolute scroll position for the window.
This commit is contained in:
Sam Atkins 2021-09-08 11:44:36 +01:00 committed by Linus Groh
parent a09219159c
commit 83414af9f3
8 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,7 @@ endpoint WebContentClient
did_layout(Gfx::IntSize content_size) =|
did_change_title(String title) =|
did_request_scroll(i32 x_delta, i32 y_delta) =|
did_request_scroll_to(Gfx::IntPoint scroll_position) =|
did_request_scroll_into_view(Gfx::IntRect rect) =|
did_enter_tooltip_area(Gfx::IntPoint content_position, String title) =|
did_leave_tooltip_area() =|