mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:24:58 +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:
parent
f6f80a1a72
commit
9624eca116
6 changed files with 0 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue