1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibWebView+Ladybird: Remove unused on_scroll_into_view callback

Leftover from 9624eca116
This commit is contained in:
Aliaksandr Kalenik 2023-12-21 15:00:11 +01:00 committed by Andreas Kling
parent 6032c06f6b
commit d87f3a4101
4 changed files with 0 additions and 33 deletions

View file

@ -56,10 +56,6 @@ OutOfProcessWebView::OutOfProcessWebView()
vertical_scrollbar().set_value(position.y());
};
on_scroll_into_view = [this](auto rect) {
scroll_into_view(rect, true, true);
};
on_cursor_change = [this](auto cursor) {
set_override_cursor(cursor);
};

View file

@ -132,7 +132,6 @@ public:
Function<void(Gfx::Bitmap const&)> on_favicon_change;
Function<void(i32, i32)> on_scroll_by_delta;
Function<void(Gfx::IntPoint)> on_scroll_to_point;
Function<void(Gfx::IntRect)> on_scroll_into_view;
Function<void(Gfx::StandardCursor)> on_cursor_change;
Function<void(Gfx::IntPoint, ByteString const&)> on_enter_tooltip_area;
Function<void()> on_leave_tooltip_area;