1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

LibWeb: Rename PageView => InProcessWebView

This commit is contained in:
Andreas Kling 2020-08-17 15:58:29 +02:00
parent ba856c7ebe
commit 56c3748dcc
31 changed files with 88 additions and 88 deletions

View file

@ -29,7 +29,7 @@
#include <LibGUI/Widget.h>
#include <LibJS/Console.h>
#include <LibJS/Forward.h>
#include <LibWeb/PageView.h>
#include <LibWeb/InProcessWebView.h>
namespace Browser {

View file

@ -57,7 +57,7 @@ ConsoleWidget::ConsoleWidget()
html_element->append_child(body_element);
m_output_container = body_element;
m_output_view = add<Web::PageView>();
m_output_view = add<Web::InProcessWebView>();
m_output_view->set_document(base_document);
auto& bottom_container = add<GUI::Widget>();

View file

@ -30,7 +30,7 @@
#include "History.h"
#include <LibGUI/Widget.h>
#include <LibJS/Forward.h>
#include <LibWeb/PageView.h>
#include <LibWeb/InProcessWebView.h>
namespace Browser {
@ -51,7 +51,7 @@ private:
virtual void focusin_event(GUI::FocusEvent&) override;
RefPtr<GUI::TextBox> m_input;
RefPtr<Web::PageView> m_output_view;
RefPtr<Web::InProcessWebView> m_output_view;
RefPtr<Web::DOM::Element> m_output_container;
WeakPtr<JS::Interpreter> m_interpreter;
OwnPtr<BrowserConsoleClient> m_console_client;

View file

@ -56,7 +56,7 @@
#include <LibWeb/Layout/LayoutNode.h>
#include <LibWeb/Loader/ResourceLoader.h>
#include <LibWeb/Page/Frame.h>
#include <LibWeb/PageView.h>
#include <LibWeb/InProcessWebView.h>
#include <LibWeb/WebContentView.h>
namespace Browser {
@ -83,7 +83,7 @@ Tab::Tab(Type type)
auto& toolbar = m_toolbar_container->add<GUI::ToolBar>();
if (m_type == Type::InProcessWebView)
m_page_view = widget.add<Web::PageView>();
m_page_view = widget.add<Web::InProcessWebView>();
else
m_web_content_view = widget.add<WebContentView>();

View file

@ -87,7 +87,7 @@ private:
History m_history;
RefPtr<Web::PageView> m_page_view;
RefPtr<Web::InProcessWebView> m_page_view;
RefPtr<WebContentView> m_web_content_view;
RefPtr<GUI::Action> m_go_back_action;