LibWeb: Return EventResult in EventHandler::focus_next/previous_element

No functional changes.
This commit is contained in:
Jelle Raaijmakers 2025-06-13 13:06:32 +02:00 committed by Alexander Kalenik
commit e4586abc18
Notes: github-actions[bot] 2025-06-13 15:40:38 +00:00
2 changed files with 17 additions and 19 deletions

View file

@ -46,8 +46,8 @@ public:
Unicode::Segmenter& word_segmenter();
private:
bool focus_next_element();
bool focus_previous_element();
EventResult focus_next_element();
EventResult focus_previous_element();
EventResult fire_keyboard_event(FlyString const& event_name, HTML::Navigable&, UIEvents::KeyCode, unsigned modifiers, u32 code_point, bool repeat);
[[nodiscard]] EventResult input_event(FlyString const& event_name, FlyString const& input_type, HTML::Navigable&, u32 code_point);