mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
@@ -129,4 +129,9 @@ void PageHost::page_did_change_title(const String& title)
|
||||
m_client.post_message(Messages::WebContentClient::DidChangeTitle(title));
|
||||
}
|
||||
|
||||
void PageHost::page_did_request_scroll_into_view(const Gfx::IntRect& rect)
|
||||
{
|
||||
m_client.post_message(Messages::WebContentClient::DidRequestScrollIntoView(rect));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user