Skip to content

Commit 1f51c2b

Browse files
committed
LibHTML: Create some subdirectories.
1 parent 0522a8f commit 1f51c2b

25 files changed

+49
-50
lines changed

β€ŽLibHTML/Document.cppβ€Ž renamed to β€ŽLibHTML/DOM/Document.cppβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <LibHTML/Document.h>
2-
#include <LibHTML/Element.h>
3-
#include <LibHTML/LayoutDocument.h>
1+
#include <LibHTML/DOM/Document.h>
2+
#include <LibHTML/DOM/Element.h>
3+
#include <LibHTML/Layout/LayoutDocument.h>
44
#include <stdio.h>
55

66
Document::Document()

β€ŽLibHTML/Document.hβ€Ž renamed to β€ŽLibHTML/DOM/Document.hβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include <AK/AKString.h>
4-
#include <LibHTML/ParentNode.h>
4+
#include <LibHTML/DOM/ParentNode.h>
55

66
class LayoutNode;
77

β€ŽLibHTML/Element.cppβ€Ž renamed to β€ŽLibHTML/DOM/Element.cppβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <LibHTML/Element.h>
2-
#include <LibHTML/LayoutBlock.h>
3-
#include <LibHTML/LayoutInline.h>
1+
#include <LibHTML/DOM/Element.h>
2+
#include <LibHTML/Layout/LayoutBlock.h>
3+
#include <LibHTML/Layout/LayoutInline.h>
44

55
Element::Element(const String& tag_name)
66
: ParentNode(NodeType::ELEMENT_NODE)

β€ŽLibHTML/Element.hβ€Ž renamed to β€ŽLibHTML/DOM/Element.hβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include <LibHTML/ParentNode.h>
3+
#include <LibHTML/DOM/ParentNode.h>
44
#include <AK/AKString.h>
55

66
class Attribute {

β€ŽLibHTML/Node.cppβ€Ž renamed to β€ŽLibHTML/DOM/Node.cppβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include <LibHTML/Node.h>
2-
#include <LibHTML/LayoutNode.h>
1+
#include <LibHTML/DOM/Node.h>
2+
#include <LibHTML/Layout/LayoutNode.h>
33

44
Node::Node(NodeType type)
55
: m_type(type)
File renamed without changes.

β€ŽLibHTML/ParentNode.cppβ€Ž renamed to β€ŽLibHTML/DOM/ParentNode.cppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <LibHTML/ParentNode.h>
1+
#include <LibHTML/DOM/ParentNode.h>
22

33
void ParentNode::append_child(Retained<Node> node)
44
{

β€ŽLibHTML/ParentNode.hβ€Ž renamed to β€ŽLibHTML/DOM/ParentNode.hβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include <LibHTML/Node.h>
3+
#include <LibHTML/DOM/Node.h>
44

55
class ParentNode : public Node {
66
public:

β€ŽLibHTML/Text.cppβ€Ž renamed to β€ŽLibHTML/DOM/Text.cppβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include <LibHTML/Text.h>
2-
#include <LibHTML/LayoutText.h>
1+
#include <LibHTML/DOM/Text.h>
2+
#include <LibHTML/Layout/LayoutText.h>
33

44
Text::Text(const String& data)
55
: Node(NodeType::TEXT_NODE)

β€ŽLibHTML/Text.hβ€Ž renamed to β€ŽLibHTML/DOM/Text.hβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include <AK/AKString.h>
4-
#include <LibHTML/Node.h>
4+
#include <LibHTML/DOM/Node.h>
55

66
class Text final : public Node {
77
public:

0 commit comments

Comments
Β (0)