mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +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)
|
||||
|
|
|
@ -42,7 +42,6 @@ private:
|
|||
virtual void did_change_title(ByteString const&) override;
|
||||
virtual void did_request_scroll(i32, i32) override;
|
||||
virtual void did_request_scroll_to(Gfx::IntPoint) override;
|
||||
virtual void did_request_scroll_into_view(Gfx::IntRect const&) override;
|
||||
virtual void did_enter_tooltip_area(Gfx::IntPoint, ByteString const&) override;
|
||||
virtual void did_leave_tooltip_area() override;
|
||||
virtual void did_hover_link(AK::URL const&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue