mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Remove did_request_scroll IPC call
No longer used after moving scrollbar painting into WebContent.
This commit is contained in:
parent
5285e22f2a
commit
cc3d95a356
Notes:
sideshowbarker
2024-07-17 08:27:05 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: cc3d95a356
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/21
7 changed files with 0 additions and 18 deletions
|
@ -149,14 +149,6 @@ void WebContentClient::did_change_url(u64 page_id, URL::URL const& url)
|
|||
}
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_scroll(u64 page_id, i32 x_delta, i32 y_delta)
|
||||
{
|
||||
if (auto view = view_for_page_id(page_id); view.has_value()) {
|
||||
if (view->on_scroll_by_delta)
|
||||
view->on_scroll_by_delta(x_delta, y_delta);
|
||||
}
|
||||
}
|
||||
|
||||
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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue