mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
LibWeb: Move the CSS parser into CSS/Parser/
This commit is contained in:
parent
cc4109c03b
commit
7daeddb9e9
11 changed files with 17 additions and 17 deletions
|
@ -45,6 +45,7 @@
|
|||
#include <LibGUI/ToolBarContainer.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibJS/Interpreter.h>
|
||||
#include <LibWeb/CSS/Parser/CSSParser.h>
|
||||
#include <LibWeb/DOM/Element.h>
|
||||
#include <LibWeb/DOMTreeModel.h>
|
||||
#include <LibWeb/Dump.h>
|
||||
|
@ -55,7 +56,6 @@
|
|||
#include <LibWeb/Layout/LayoutNode.h>
|
||||
#include <LibWeb/Loader/ResourceLoader.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/Parser/CSSParser.h>
|
||||
#include <LibWeb/WebContentView.h>
|
||||
|
||||
namespace Browser {
|
||||
|
@ -88,14 +88,14 @@ Tab::Tab(Type type)
|
|||
else
|
||||
m_web_content_view = widget.add<WebContentView>();
|
||||
|
||||
m_go_back_action = GUI::CommonActions::make_go_back_action( [this](auto&) { go_back(); }, this);
|
||||
m_go_back_action = GUI::CommonActions::make_go_back_action([this](auto&) { go_back(); }, this);
|
||||
m_go_forward_action = GUI::CommonActions::make_go_forward_action([this](auto&) { go_forward(); }, this);
|
||||
|
||||
toolbar.add_action(*m_go_back_action);
|
||||
toolbar.add_action(*m_go_forward_action);
|
||||
|
||||
toolbar.add_action(GUI::CommonActions::make_go_home_action([this](auto&) { load(g_home_url); }, this));
|
||||
m_reload_action = GUI::CommonActions::make_reload_action( [this](auto&) { reload(); }, this);
|
||||
m_reload_action = GUI::CommonActions::make_reload_action([this](auto&) { reload(); }, this);
|
||||
|
||||
toolbar.add_action(*m_reload_action);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue