LibWeb+LibWebView+WebContent: Remove unused request_scroll_into_view

`Element::scroll_into_view()` is supposed to be used instead.
This commit is contained in:
Aliaksandr Kalenik 2023-12-18 21:45:29 +01:00 committed by Andreas Kling
commit 9624eca116
Notes: sideshowbarker 2024-07-16 23:44:30 +09:00
6 changed files with 0 additions and 20 deletions

View file

@ -125,13 +125,6 @@ void WebContentClient::did_request_scroll_to(Gfx::IntPoint scroll_position)
m_view.on_scroll_to_point(scroll_position);
}
void WebContentClient::did_request_scroll_into_view(Gfx::IntRect const& rect)
{
dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidRequestScrollIntoView! rect={}", rect);
if (m_view.on_scroll_into_view)
m_view.on_scroll_into_view(rect);
}
void WebContentClient::did_enter_tooltip_area(Gfx::IntPoint content_position, ByteString const& title)
{
if (m_view.on_enter_tooltip_area)