mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
LibWeb: Move DOM classes into the Web::DOM namespace
LibWeb keeps growing and the Web namespace is filling up fast. Let's put DOM stuff into Web::DOM, just like we already started doing with SVG stuff in Web::SVG.
This commit is contained in:
parent
96d13f75cf
commit
11ff9d0f17
178 changed files with 516 additions and 523 deletions
|
@ -27,14 +27,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/Model.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
class Document;
|
||||
|
||||
class LayoutTreeModel final : public GUI::Model {
|
||||
public:
|
||||
static NonnullRefPtr<LayoutTreeModel> create(Document& document)
|
||||
static NonnullRefPtr<LayoutTreeModel> create(DOM::Document& document)
|
||||
{
|
||||
return adopt(*new LayoutTreeModel(document));
|
||||
}
|
||||
|
@ -49,9 +48,9 @@ public:
|
|||
virtual void update() override;
|
||||
|
||||
private:
|
||||
explicit LayoutTreeModel(Document&);
|
||||
explicit LayoutTreeModel(DOM::Document&);
|
||||
|
||||
NonnullRefPtr<Document> m_document;
|
||||
NonnullRefPtr<DOM::Document> m_document;
|
||||
|
||||
GUI::Icon m_document_icon;
|
||||
GUI::Icon m_element_icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue