diff options
Diffstat (limited to 'Libraries/LibHTML/DOM/Document.h')
-rw-r--r-- | Libraries/LibHTML/DOM/Document.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibHTML/DOM/Document.h b/Libraries/LibHTML/DOM/Document.h index 46d8fe1581..07ea5454b2 100644 --- a/Libraries/LibHTML/DOM/Document.h +++ b/Libraries/LibHTML/DOM/Document.h @@ -9,6 +9,7 @@ #include <LibHTML/DOM/ParentNode.h> class Frame; +class HTMLBodyElement; class HTMLHtmlElement; class HTMLHeadElement; class LayoutNode; @@ -35,6 +36,7 @@ public: const HTMLHtmlElement* document_element() const; const HTMLHeadElement* head() const; + const HTMLBodyElement* body() const; String title() const; @@ -44,6 +46,8 @@ public: Frame* frame() { return m_frame.ptr(); } const Frame* frame() const { return m_frame.ptr(); } + Color background_color() const; + private: OwnPtr<StyleResolver> m_style_resolver; NonnullRefPtrVector<StyleSheet> m_sheets; |