summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-09-08 11:44:36 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-11 15:51:05 +0100
commit83414af9f3feb01e3afddfe05a472d1f83d0bcff (patch)
tree89adb354bbbccaa6bbbf968d8fe4d4deb5bf963d /Userland/Libraries/LibWeb/WebContentClient.h
parenta09219159c9be273edf44155219f14aa6e9880dc (diff)
downloadserenity-83414af9f3feb01e3afddfe05a472d1f83d0bcff.zip
LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call
This call sets the absolute scroll position for the window.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h
index a80f325303..b22fcdb400 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -37,6 +37,7 @@ private:
virtual void did_layout(Gfx::IntSize const&) override;
virtual void did_change_title(String const&) override;
virtual void did_request_scroll(i32, i32) override;
+ virtual void did_request_scroll_to(Gfx::IntPoint const&) override;
virtual void did_request_scroll_into_view(Gfx::IntRect const&) override;
virtual void did_enter_tooltip_area(Gfx::IntPoint const&, String const&) override;
virtual void did_leave_tooltip_area() override;