summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorAngus Gibson <angus@agibson.me>2021-03-02 08:39:07 +1100
committerAndreas Kling <kling@serenityos.org>2021-03-02 13:20:03 +0100
commit0e881bc5d723578cf09d4db61e93cb5405b8c983 (patch)
treec98d38afddf6aff41f85f8498a944aac646e7d81 /Userland/Libraries/LibWeb/WebContentClient.h
parente9c1d9c89af74239e27f872355897a4ba35818ad (diff)
downloadserenity-0e881bc5d723578cf09d4db61e93cb5405b8c983.zip
LibWeb: Handle scrolling an OutOfProcessWebView
When a mousewheel scroll event isn't handled by the web content itself (e.g. an overflowed box or similar), the event needs to get passed back up to the OutOfProcessWebView.
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 33e22a9ad6..5f83d1eb4a 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -57,6 +57,7 @@ private:
virtual void handle(const Messages::WebContentClient::DidRequestCursorChange&) override;
virtual void handle(const Messages::WebContentClient::DidLayout&) override;
virtual void handle(const Messages::WebContentClient::DidChangeTitle&) override;
+ virtual void handle(const Messages::WebContentClient::DidRequestScroll&) override;
virtual void handle(const Messages::WebContentClient::DidRequestScrollIntoView&) override;
virtual void handle(const Messages::WebContentClient::DidHoverLink&) override;
virtual void handle(const Messages::WebContentClient::DidUnhoverLink&) override;