mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
LibWebView: Move DOMTreeModel to LibWebView
This patch has no functional changes.
This commit is contained in:
parent
97a67f5501
commit
b797e1e2b9
5 changed files with 7 additions and 7 deletions
|
@ -109,7 +109,6 @@ set(SOURCES
|
|||
DOM/Text.idl
|
||||
DOM/TreeWalker.cpp
|
||||
DOMParsing/InnerHTML.cpp
|
||||
DOMTreeModel.cpp
|
||||
Dump.cpp
|
||||
Encoding/TextDecoder.cpp
|
||||
Encoding/TextEncoder.cpp
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
set(SOURCES
|
||||
DOMTreeModel.cpp
|
||||
OutOfProcessWebView.cpp
|
||||
WebContentClient.cpp
|
||||
)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <LibGfx/Palette.h>
|
||||
#include <ctype.h>
|
||||
|
||||
namespace Web {
|
||||
namespace WebView {
|
||||
|
||||
DOMTreeModel::DOMTreeModel(JsonObject dom_tree, GUI::TreeView& tree_view)
|
||||
: m_tree_view(tree_view)
|
||||
|
@ -214,7 +214,7 @@ GUI::ModelIndex DOMTreeModel::index_for_node(i32 node_id, Optional<Web::CSS::Sel
|
|||
}
|
||||
}
|
||||
|
||||
dbgln("Didn't find index for node {}, pseudo-element {}!", node_id, pseudo_element.has_value() ? CSS::pseudo_element_name(pseudo_element.value()) : "NONE");
|
||||
dbgln("Didn't find index for node {}, pseudo-element {}!", node_id, pseudo_element.has_value() ? Web::CSS::pseudo_element_name(pseudo_element.value()) : "NONE");
|
||||
return {};
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
#include <LibWeb/CSS/Selector.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web {
|
||||
namespace WebView {
|
||||
|
||||
class DOMTreeModel final : public GUI::Model {
|
||||
public:
|
Loading…
Add table
Add a link
Reference in a new issue