LibWebView+UI: Extract some UI-specific displays to Application helpers

This is preparation for moving application menus to LibWebView. We will
need a way to display these dialogs from outside of the UI layer.
This commit is contained in:
Timothy Flynn 2025-09-04 08:53:57 -04:00 committed by Tim Flynn
commit 2632b1375b
Notes: github-actions[bot] 2025-09-11 18:25:30 +00:00
10 changed files with 134 additions and 54 deletions

View file

@ -231,6 +231,7 @@ public:
Function<void(size_t current_match_index, Optional<size_t> const& total_match_count)> on_find_in_page;
Function<void(Gfx::Color)> on_theme_color_change;
Function<void(Web::Clipboard::SystemClipboardRepresentation, String const&)> on_insert_clipboard_entry;
Function<String()> on_request_clipboard_text;
Function<void(u64 request_id)> on_request_clipboard_entries;
Function<void(Web::HTML::AudioPlayState)> on_audio_play_state_changed;
Function<void(bool, bool)> on_navigation_buttons_state_changed;