1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Libraries/LibWeb
Andreas Kling 385d744989 LibWeb: Use smart pointers between DOM and Layout tree
DOM::Node now points to its LayoutNode with a WeakPtr.
LayoutNode points to its DOM::Node and DOM::Document with RefPtrs.

Layout trees come and go in response to various events, so the DOM tree
already has to deal with that. The DOM should always live at least as
long as the layout tree, so this patch enforces that assumption by
making layout nodes keep their corresponding DOM objects alive.

This may not be optimal, but it removes a lot of ambiguous raw pointer
action which is not worth accomodating.
2020-10-22 20:26:32 +02:00
..
Bindings LibWeb: Add empty IDL bindings for current SVG elements 2020-10-03 00:30:49 +02:00
CodeGenerators LibWeb: Add empty IDL bindings for current SVG elements 2020-10-03 00:30:49 +02:00
CSS LibWeb: Cache the default font if we fail to find the specified font 2020-10-10 23:25:19 +02:00
DOM LibWeb: Use smart pointers between DOM and Layout tree 2020-10-22 20:26:32 +02:00
HighResolutionTime LibWeb: Implement performance.timeOrigin 2020-09-29 18:31:07 +02:00
HTML LibWeb: Add initial implementation of foreign content parsing 2020-10-22 15:24:42 +02:00
Layout LibWeb: Use smart pointers between DOM and Layout tree 2020-10-22 20:26:32 +02:00
Loader LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Page LibWeb: Add OutOfProcessWebView::load_html() 2020-10-08 23:20:52 +02:00
Painting LibWeb: Add a basic SVGContext object, add to PaintContext 2020-10-10 23:28:41 +02:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: Add initial implementation of foreign content parsing 2020-10-22 15:24:42 +02:00
Tests LibWeb: Add initial implementation of foreign content parsing 2020-10-22 15:24:42 +02:00
UIEvents LibWeb: Oops, provide the correct WrapperType for UIEvent 2020-07-28 19:40:11 +02:00
CMakeLists.txt LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
DOMTreeModel.cpp LibWeb: Implement <template> parsing 2020-08-21 11:57:11 +02:00
DOMTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Dump.cpp LibWeb: Implement <template> parsing 2020-08-21 11:57:11 +02:00
Dump.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h TextEditor: Replace InProcessWebView with OutOfProcessWebView 2020-10-08 23:20:52 +02:00
InProcessWebView.cpp LibWeb: Add FrameLoader::load_html() 2020-10-08 23:20:52 +02:00
InProcessWebView.h LibWeb: Add a PageClient callback for image context menu requests 2020-10-02 19:02:47 +02:00
LayoutTreeModel.cpp LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
LayoutTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Namespace.cpp LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Namespace.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Origin.h LibWeb: Add Origin::is_same(const Origin&) 2020-09-22 20:10:20 +02:00
OutOfProcessWebView.cpp LibWeb: Handle theme change event in OutOfProcessWebView 2020-10-08 23:20:52 +02:00
OutOfProcessWebView.h LibWeb: Handle theme change event in OutOfProcessWebView 2020-10-08 23:20:52 +02:00
QualifiedName.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
StylePropertiesModel.cpp LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
StylePropertiesModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
TreeNode.h LibWeb: Make DOM Nodes keep their Document alive 2020-10-11 21:52:59 +02:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h Meta+LibHTTP through LibWeb: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
WebContentClient.cpp LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebContentClient.h LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebViewHooks.h LibWeb: Add a PageClient callback for image context menu requests 2020-10-02 19:02:47 +02:00