1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +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

@ -86,6 +86,7 @@ public:
virtual void page_did_change_favicon(const Gfx::Bitmap&) { }
virtual void page_did_layout() { }
virtual void page_did_request_scroll(i32, i32) { }
virtual void page_did_request_scroll_to(Gfx::IntPoint const&) { }
virtual void page_did_request_scroll_into_view(const Gfx::IntRect&) { }
virtual void page_did_request_alert(const String&) { }
virtual bool page_did_request_confirm(const String&) { return false; }