LibWeb: Add helpers for focus management of text editors

This commit is contained in:
Jonathan Gamble
2026-01-07 23:30:37 -06:00
committed by Shannon Booth
parent 116ccdd878
commit 196be843a5
Notes: github-actions[bot] 2026-01-09 17:10:46 +00:00
4 changed files with 20 additions and 10 deletions

View File

@@ -857,7 +857,7 @@ public:
void set_console_client(GC::Ptr<JS::ConsoleClient> console_client) { m_console_client = console_client; }
GC::Ptr<JS::ConsoleClient> console_client() const { return m_console_client; }
InputEventsTarget* active_input_events_target();
InputEventsTarget* active_input_events_target(DOM::Node const* for_node = nullptr);
GC::Ptr<DOM::Position> cursor_position() const;
bool cursor_blink_state() const { return m_cursor_blink_state; }