1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

Ladybird+LibWebView: Migrate input completions to LibWebView callbacks

This commit is contained in:
Timothy Flynn 2023-08-23 11:19:21 -04:00 committed by Tim Flynn
parent 5116e97a9d
commit edec5b1d91
9 changed files with 9 additions and 21 deletions

View file

@ -145,8 +145,7 @@ public:
Function<Gfx::IntRect()> on_maximize_window;
Function<Gfx::IntRect()> on_minimize_window;
Function<Gfx::IntRect()> on_fullscreen_window;
virtual void notify_server_did_finish_handling_input_event(bool event_was_accepted) = 0;
Function<void(bool)> on_finish_handling_input_event;
virtual Gfx::IntRect viewport_rect() const = 0;
virtual Gfx::IntPoint to_content_position(Gfx::IntPoint widget_position) const = 0;