mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibWeb: Move OutOfProcessWebView into the Web namespace
This commit is contained in:
parent
09ccb46980
commit
682b2fdb75
9 changed files with 24 additions and 10 deletions
|
@ -50,14 +50,14 @@
|
|||
#include <LibWeb/DOM/Element.h>
|
||||
#include <LibWeb/DOMTreeModel.h>
|
||||
#include <LibWeb/Dump.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
#include <LibWeb/Layout/LayoutBlock.h>
|
||||
#include <LibWeb/Layout/LayoutDocument.h>
|
||||
#include <LibWeb/Layout/LayoutInline.h>
|
||||
#include <LibWeb/Layout/LayoutNode.h>
|
||||
#include <LibWeb/Loader/ResourceLoader.h>
|
||||
#include <LibWeb/Page/Frame.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
#include <LibWeb/OutOfProcessWebView.h>
|
||||
#include <LibWeb/Page/Frame.h>
|
||||
|
||||
namespace Browser {
|
||||
|
||||
|
@ -85,7 +85,7 @@ Tab::Tab(Type type)
|
|||
if (m_type == Type::InProcessWebView)
|
||||
m_page_view = widget.add<Web::InProcessWebView>();
|
||||
else
|
||||
m_web_content_view = widget.add<OutOfProcessWebView>();
|
||||
m_web_content_view = widget.add<Web::OutOfProcessWebView>();
|
||||
|
||||
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);
|
||||
|
|
|
@ -32,9 +32,8 @@
|
|||
#include <LibHTTP/HttpJob.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
class OutOfProcessWebView;
|
||||
|
||||
namespace Web {
|
||||
class OutOfProcessWebView;
|
||||
class WebViewHooks;
|
||||
}
|
||||
|
||||
|
@ -88,7 +87,7 @@ private:
|
|||
History m_history;
|
||||
|
||||
RefPtr<Web::InProcessWebView> m_page_view;
|
||||
RefPtr<OutOfProcessWebView> m_web_content_view;
|
||||
RefPtr<Web::OutOfProcessWebView> m_web_content_view;
|
||||
|
||||
RefPtr<GUI::Action> m_go_back_action;
|
||||
RefPtr<GUI::Action> m_go_forward_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue