1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

WebContent: Plumb scroll-into-view requests from server to client

The WebContentView widget will now be able to react to scroll-into-view
requests from the WebContent process.
This commit is contained in:
Andreas Kling 2020-07-05 15:43:43 +02:00
parent 56d14d5701
commit 131bc8fd31
7 changed files with 22 additions and 0 deletions

View file

@ -50,6 +50,7 @@ private:
virtual void handle(const Messages::WebContentClient::DidChangeSelection&) override;
virtual void handle(const Messages::WebContentClient::DidLayout&) override;
virtual void handle(const Messages::WebContentClient::DidChangeTitle&) override;
virtual void handle(const Messages::WebContentClient::DidRequestScrollIntoView&) override;
WebContentView& m_view;
};