1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Userland/Libraries/LibWebView
Timothy Flynn 3999c74237 LibWebView: Create a TreeModel helper class for DOM/accessibility models
We currently have DOMTreeModel and AccessibilityTreeModel in LibWebView.
These depend on GUI::Model and GUI::ModelIndex, which is the only reason
that the non-Serenity Ladybird chromes require LibGUI. Further, these
classes are very nearly idenitical.

This creates a TreeModel class to provide the base functionality for all
tree-based model types used by all Ladybird chromes. It contains code
common to the DOM / accessibility tree models, and handles the slight
differences between the two (namely, just the formatting of each node's
text for display).

The Qt and Serenity chromes can create thin wrappers around this class
to adapt its interface to their chrome-specific model classes (i.e.
QAbstractItemModel and GUI::Model).
2023-11-05 09:11:23 +01:00
..
AccessibilityTreeModel.cpp LibWeb: Prevent crash when inspecting SVG documents 2023-06-27 09:20:06 +01:00
AccessibilityTreeModel.h LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
AriaPropertiesStateModel.cpp Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
AriaPropertiesStateModel.h Browser+LibWebView: Load and Display ARIA Properites and State 2023-07-06 11:21:36 +01:00
CMakeLists.txt LibWebView: Create a TreeModel helper class for DOM/accessibility models 2023-11-05 09:11:23 +01:00
ConsoleClient.cpp Ladybird+LibWebView: Move console history tracking to ConsoleClient 2023-08-31 12:20:10 +02:00
ConsoleClient.h Ladybird+LibWebView: Move console history tracking to ConsoleClient 2023-08-31 12:20:10 +02:00
CookieJar.cpp LibWebView: Reject cookies whose domain is on the Public Suffix List 2023-10-26 11:06:49 +02:00
CookieJar.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
Database.cpp Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Database.h Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02: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: Define the list of built-in search engines in LibWebView 2023-10-23 12:12:36 -04:00
History.cpp Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
History.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
ModelIndex.h LibWebView: Create a TreeModel helper class for DOM/accessibility models 2023-11-05 09:11:23 +01:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
OutOfProcessWebView.cpp Userland: Port GUI::Application::show_tooltip() to String 2023-10-06 08:20:11 +02:00
OutOfProcessWebView.h LibWeb: Port Storage interface from DeprecatedString to String 2023-08-29 10:05:02 +02:00
RequestServerAdapter.cpp LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
RequestServerAdapter.h LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
SearchEngine.cpp LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SearchEngine.h LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SourceHighlighter.cpp LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00
SourceHighlighter.h LibWebView: Create a method to syntax-highlight page source with HTML 2023-08-29 08:11:11 -04:00
StylePropertiesModel.cpp Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
StylePropertiesModel.h LibGUI+Userland: Propagate errors in Model::column_name() 2023-06-14 17:53:59 +02:00
TreeModel.cpp LibWebView: Create a TreeModel helper class for DOM/accessibility models 2023-11-05 09:11:23 +01:00
TreeModel.h LibWebView: Create a TreeModel helper class for DOM/accessibility models 2023-11-05 09:11:23 +01:00
URL.cpp LibWebView: Protect URL highlighting against partially-typed URLs 2023-10-28 19:03:19 +02:00
URL.h LibWebView: Add an API to query if a host is on the Public Suffix List 2023-10-26 11:06:49 +02:00
UserAgent.cpp Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
UserAgent.h Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ViewImplementation.cpp LibWebView: Add a helper to get selected text with collapsed whitespace 2023-10-24 07:28:30 +02:00
ViewImplementation.h Ladybird+WebContent: Add option to use GPU painter 2023-10-29 17:13:23 +01:00
WebContentClient.cpp LibWeb+LibWebView+WebContent: Add support for meta theme-color 2023-10-03 16:17:43 -06:00
WebContentClient.h LibWeb+LibWebView+WebContent: Add support for meta theme-color 2023-10-03 16:17:43 -06:00
WebSocketClientAdapter.cpp LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00
WebSocketClientAdapter.h LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00