summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Document.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-28 18:20:36 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-28 18:55:48 +0200
commitc46439f24063a5531f1f7562cf6d733cdbabdb51 (patch)
tree859ce620cbb59fd0d18700a524631dcbe6dd9eea /Libraries/LibWeb/DOM/Document.h
parentebd2e7d9f569d284effeeb53a5589318391617b8 (diff)
downloadserenity-c46439f24063a5531f1f7562cf6d733cdbabdb51.zip
LibWeb: Move HTML classes into the Web::HTML namespace
Diffstat (limited to 'Libraries/LibWeb/DOM/Document.h')
-rw-r--r--Libraries/LibWeb/DOM/Document.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/Libraries/LibWeb/DOM/Document.h b/Libraries/LibWeb/DOM/Document.h
index 788c628c6c..3f8bfe7cf1 100644
--- a/Libraries/LibWeb/DOM/Document.h
+++ b/Libraries/LibWeb/DOM/Document.h
@@ -85,9 +85,9 @@ public:
Node* inspected_node() { return m_inspected_node; }
const Node* inspected_node() const { return m_inspected_node; }
- const HTMLHtmlElement* document_element() const;
- const HTMLHeadElement* head() const;
- const HTMLElement* body() const;
+ const HTML::HTMLHtmlElement* document_element() const;
+ const HTML::HTMLHeadElement* head() const;
+ const HTML::HTMLElement* body() const;
String title() const;
@@ -138,15 +138,15 @@ public:
NonnullRefPtr<Element> create_element(const String& tag_name);
NonnullRefPtr<Text> create_text_node(const String& data);
- void set_pending_parsing_blocking_script(Badge<HTMLScriptElement>, HTMLScriptElement*);
- HTMLScriptElement* pending_parsing_blocking_script() { return m_pending_parsing_blocking_script; }
- NonnullRefPtr<HTMLScriptElement> take_pending_parsing_blocking_script(Badge<HTMLDocumentParser>);
+ void set_pending_parsing_blocking_script(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement*);
+ HTML::HTMLScriptElement* pending_parsing_blocking_script() { return m_pending_parsing_blocking_script; }
+ NonnullRefPtr<HTML::HTMLScriptElement> take_pending_parsing_blocking_script(Badge<HTML::HTMLDocumentParser>);
- void add_script_to_execute_when_parsing_has_finished(Badge<HTMLScriptElement>, HTMLScriptElement&);
- NonnullRefPtrVector<HTMLScriptElement> take_scripts_to_execute_when_parsing_has_finished(Badge<HTMLDocumentParser>);
+ void add_script_to_execute_when_parsing_has_finished(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement&);
+ NonnullRefPtrVector<HTML::HTMLScriptElement> take_scripts_to_execute_when_parsing_has_finished(Badge<HTML::HTMLDocumentParser>);
- void add_script_to_execute_as_soon_as_possible(Badge<HTMLScriptElement>, HTMLScriptElement&);
- NonnullRefPtrVector<HTMLScriptElement> take_scripts_to_execute_as_soon_as_possible(Badge<HTMLDocumentParser>);
+ void add_script_to_execute_as_soon_as_possible(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement&);
+ NonnullRefPtrVector<HTML::HTMLScriptElement> take_scripts_to_execute_as_soon_as_possible(Badge<HTML::HTMLDocumentParser>);
QuirksMode mode() const { return m_quirks_mode; }
bool in_quirks_mode() const { return m_quirks_mode == QuirksMode::Yes; }
@@ -181,9 +181,9 @@ private:
OwnPtr<JS::Interpreter> m_interpreter;
- RefPtr<HTMLScriptElement> m_pending_parsing_blocking_script;
- NonnullRefPtrVector<HTMLScriptElement> m_scripts_to_execute_when_parsing_has_finished;
- NonnullRefPtrVector<HTMLScriptElement> m_scripts_to_execute_as_soon_as_possible;
+ RefPtr<HTML::HTMLScriptElement> m_pending_parsing_blocking_script;
+ NonnullRefPtrVector<HTML::HTMLScriptElement> m_scripts_to_execute_when_parsing_has_finished;
+ NonnullRefPtrVector<HTML::HTMLScriptElement> m_scripts_to_execute_as_soon_as_possible;
QuirksMode m_quirks_mode { QuirksMode::No };
};