mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-03 14:50:59 +00:00
LibWeb: Remove did_request_scroll_to IPC call
No longer used after moving scrollbar painting into WebContent.
This commit is contained in:
parent
cc3d95a356
commit
94eacf6da7
Notes:
sideshowbarker
2024-07-17 02:39:10 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 94eacf6da7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/21
7 changed files with 0 additions and 26 deletions
|
|
@ -149,14 +149,6 @@ void WebContentClient::did_change_url(u64 page_id, URL::URL const& url)
|
|||
}
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_scroll_to(u64 page_id, Gfx::IntPoint scroll_position)
|
||||
{
|
||||
if (auto view = view_for_page_id(page_id); view.has_value()) {
|
||||
if (view->on_scroll_to_point)
|
||||
view->on_scroll_to_point(scroll_position);
|
||||
}
|
||||
}
|
||||
|
||||
void WebContentClient::did_enter_tooltip_area(u64 page_id, Gfx::IntPoint content_position, ByteString const& title)
|
||||
{
|
||||
if (auto view = view_for_page_id(page_id); view.has_value()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue