ladybird/Userland/Libraries/LibWebView
Sam Atkins d94d60219c LibWebView+WebContent: Propagate unconsumed input events out of OOPWV
Since 9e2bd9d261a8c0c1b5eeafde95ca310efc667204, the OOPWV has been
consuming all mouse and keyboard events, preventing action shortcuts
from working. So let's fix that. :^)

OOPWV now queues up input events, sending them one at a time to the
WebContent process and waiting for the new
`did_finish_handling_input_event(bool event_was_accepted) =|` IPC call
before sending the next one. If the event was not accepted, OOPWV
imitates the usual event bubbling: first passing the event to its
superclass, then to its parent widget, and finally propagating to any
Action shortcuts.

With this, shortcuts like Ctrl+I to open Browser's JS console work
again, except when a contenteditable field is selected. That's a
whole separate stack of yaks.

Co-authored-by: Zaggy1024 <zaggy1024@gmail.com>
2022-11-26 00:44:49 +01:00
..
DumpLayoutTree Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
DOMTreeModel.cpp Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY 2022-10-10 12:23:12 +02:00
DOMTreeModel.h LibWebView: Make DOMTreeModel usable outside of SerenityOS 2022-09-25 12:11:02 +02:00
Forward.h LibWebView: Add abstract virtual base for WebView implementations 2022-10-06 09:51:04 +02:00
OutOfProcessWebView.cpp LibWebView+WebContent: Propagate unconsumed input events out of OOPWV 2022-11-26 00:44:49 +01:00
OutOfProcessWebView.h LibWebView+WebContent: Propagate unconsumed input events out of OOPWV 2022-11-26 00:44:49 +01:00
RequestServerAdapter.cpp LibWeb: Abstract the LibProtocol ResourceLoader connection 2022-05-15 12:17:36 +02:00
RequestServerAdapter.h LibWeb: Abstract the LibProtocol ResourceLoader connection 2022-05-15 12:17:36 +02:00
StylePropertiesModel.cpp LibWebView: Move StylePropertiesModel to LibWebView 2022-05-15 12:17:36 +02:00
StylePropertiesModel.h LibWebView: Move StylePropertiesModel to LibWebView 2022-05-15 12:17:36 +02:00
ViewImplementation.h LibWebView+WebContent: Propagate unconsumed input events out of OOPWV 2022-11-26 00:44:49 +01:00
WebContentClient.cpp LibWebView+WebContent: Propagate unconsumed input events out of OOPWV 2022-11-26 00:44:49 +01:00
WebContentClient.h LibWebView+WebContent: Propagate unconsumed input events out of OOPWV 2022-11-26 00:44:49 +01:00
WebSocketClientAdapter.cpp LibWeb: Abstract the LibProtocol WebSockets connection 2022-05-15 12:17:36 +02:00
WebSocketClientAdapter.h LibWeb: Abstract the LibProtocol WebSockets connection 2022-05-15 12:17:36 +02:00