diff options
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Browser/InspectorWidget.cpp | 6 | ||||
-rw-r--r-- | Applications/Browser/InspectorWidget.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Applications/Browser/InspectorWidget.cpp b/Applications/Browser/InspectorWidget.cpp index fa09653761..8b86f2db08 100644 --- a/Applications/Browser/InspectorWidget.cpp +++ b/Applications/Browser/InspectorWidget.cpp @@ -27,14 +27,16 @@ #include "InspectorWidget.h" #include <LibGUI/BoxLayout.h> #include <LibGUI/Splitter.h> +#include <LibGUI/TabWidget.h> #include <LibGUI/TableView.h> #include <LibGUI/TreeView.h> -#include <LibGUI/TabWidget.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> #include <LibWeb/DOMTreeModel.h> #include <LibWeb/StylePropertiesModel.h> +namespace Browser { + InspectorWidget::InspectorWidget() { set_layout<GUI::VerticalBoxLayout>(); @@ -75,3 +77,5 @@ void InspectorWidget::set_document(Web::Document* document) m_document = document; m_dom_tree_view->set_model(Web::DOMTreeModel::create(*document)); } + +} diff --git a/Applications/Browser/InspectorWidget.h b/Applications/Browser/InspectorWidget.h index f070b77cf7..8c974bc6f6 100644 --- a/Applications/Browser/InspectorWidget.h +++ b/Applications/Browser/InspectorWidget.h @@ -27,6 +27,8 @@ #include <LibGUI/Widget.h> #include <LibWeb/Forward.h> +namespace Browser { + class InspectorWidget final : public GUI::Widget { C_OBJECT(InspectorWidget) public: @@ -42,3 +44,5 @@ private: RefPtr<GUI::TableView> m_computed_style_table_view; RefPtr<Web::Document> m_document; }; + +} |