ladybird/Userland/Libraries/LibWebView
Timothy Flynn 6970f1b6c1 Browser+Ladybird+LibWebView: Handle trivial content APIs in LibWebView
The goal here is to reduce the amount of WebContent client APIs that are
duplicated across every ViewImplementation. Across our three browsers,
we currently:

    Ladybird - Mix some AK::Function callbacks and Qt signals to notify
    tabs of WebContent events.

    Browser - Use only AK::Function callbacks.

    headless-browser - Drop most events on the floor.

Instead, let's only use AK::Function callbacks across all three browsers
to propagate events to tabs. This allows us to invoke those callbacks
directly from LibWebView instead of all three browsers needing to define
a trivial `if (callback) callback();` override of a LibWebView virtual
function. For headless-browser, we can simply not set these callbacks.

As a first pass, this only converts WebContent events that are trivial
to this approach. That is, events that were simply passed onto the tab
or handled without much fuss.
2023-05-17 19:47:05 +02:00
..
AccessibilityTreeModel.cpp LibWebView: Display Accessible Name and Description 2023-02-19 15:58:20 +01:00
AccessibilityTreeModel.h LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
CMakeLists.txt LibWebView: Remove the DumpLayoutTree program 2023-05-16 13:22:23 -07:00
DOMTreeModel.cpp LibWeb+LibWebView: Show shadow roots in the DOM inspector 2023-03-18 20:14:52 +01:00
DOMTreeModel.h LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
Forward.h LibWebView: Add abstract virtual base for WebView implementations 2022-10-06 09:51:04 +02:00
OutOfProcessWebView.cpp Browser+Ladybird+LibWebView: Handle trivial content APIs in LibWebView 2023-05-17 19:47:05 +02:00
OutOfProcessWebView.h Browser+Ladybird+LibWebView: Handle trivial content APIs in LibWebView 2023-05-17 19:47:05 +02:00
RequestServerAdapter.cpp Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
RequestServerAdapter.h Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
StylePropertiesModel.cpp Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
StylePropertiesModel.h Userland: Port Model::column_name() to String 2023-05-15 06:42:10 +02:00
ViewImplementation.cpp Ladybird: Move ownership of the JS console/inspector to the tab object 2023-05-17 19:47:05 +02:00
ViewImplementation.h Browser+Ladybird+LibWebView: Handle trivial content APIs in LibWebView 2023-05-17 19:47:05 +02:00
WebContentClient.cpp Browser+Ladybird+LibWebView: Handle trivial content APIs in LibWebView 2023-05-17 19:47:05 +02:00
WebContentClient.h Browser+LibWeb+WebContent: Broadcast video element context menu requests 2023-05-16 12:48:39 +02:00
WebSocketClientAdapter.cpp LibWeb+LibWebSocket: DOM WebSocket subprotocol support 2023-02-02 14:41:34 +01:00
WebSocketClientAdapter.h LibWeb+LibWebSocket: DOM WebSocket subprotocol support 2023-02-02 14:41:34 +01:00