mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibWeb+LibWebView+WebContent: Remove unused request_scroll_into_view
`Element::scroll_into_view()` is supposed to be used instead.
This commit is contained in:
committed by
Andreas Kling
parent
f6f80a1a72
commit
9624eca116
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user