1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

LibWebView+Ladybird: Remove duplicate WebContent callback

We have on_navigate_back + on_back_button and on_navigate_forward +
on_forward_button. Remove the *_button variants.
This commit is contained in:
Timothy Flynn 2023-08-18 18:33:25 -04:00 committed by Andreas Kling
parent 1adf06c9f0
commit 9608bfb576
5 changed files with 14 additions and 28 deletions

View file

@ -122,8 +122,6 @@ public:
Function<Gfx::IntRect()> on_maximize_window;
Function<Gfx::IntRect()> on_minimize_window;
Function<Gfx::IntRect()> on_fullscreen_window;
Function<void()> on_back_button;
Function<void()> on_forward_button;
virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) = 0;
virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id, Gfx::IntSize) = 0;