mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Rename PageView => InProcessWebView
This commit is contained in:
parent
ba856c7ebe
commit
56c3748dcc
31 changed files with 88 additions and 88 deletions
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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>();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include <LibGUI/Window.h>
|
||||
#include <LibMarkdown/Document.h>
|
||||
#include <LibWeb/Layout/LayoutNode.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
#include <libgen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -150,7 +150,7 @@ int main(int argc, char* argv[])
|
|||
left_tab_bar.set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
||||
left_tab_bar.set_preferred_size(200, 500);
|
||||
|
||||
auto& page_view = splitter.add<Web::PageView>();
|
||||
auto& page_view = splitter.add<Web::InProcessWebView>();
|
||||
|
||||
History history;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <LibGUI/TextBox.h>
|
||||
#include <LibGUI/TextEditor.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
|
||||
IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& name)
|
||||
: m_client(client)
|
||||
|
@ -52,7 +52,7 @@ IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& na
|
|||
// Make a container for the log buffer view + (optional) member list.
|
||||
auto& container = add<GUI::HorizontalSplitter>();
|
||||
|
||||
m_page_view = container.add<Web::PageView>();
|
||||
m_page_view = container.add<Web::InProcessWebView>();
|
||||
|
||||
if (m_type == Channel) {
|
||||
auto& member_view = container.add<GUI::TableView>();
|
||||
|
|
|
@ -74,7 +74,7 @@ private:
|
|||
void* m_owner { nullptr };
|
||||
Type m_type;
|
||||
String m_name;
|
||||
RefPtr<Web::PageView> m_page_view;
|
||||
RefPtr<Web::InProcessWebView> m_page_view;
|
||||
RefPtr<GUI::TextBox> m_text_box;
|
||||
RefPtr<IRCLogBuffer> m_log_buffer;
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include <LibGUI/ToolBarContainer.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibMarkdown/Document.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
#include <string.h>
|
||||
|
||||
TextEditorWidget::TextEditorWidget()
|
||||
|
@ -92,7 +92,7 @@ TextEditorWidget::TextEditorWidget()
|
|||
m_statusbar->set_text(builder.to_string());
|
||||
};
|
||||
|
||||
m_page_view = splitter.add<Web::PageView>();
|
||||
m_page_view = splitter.add<Web::InProcessWebView>();
|
||||
m_page_view->set_visible(false);
|
||||
m_page_view->on_link_hover = [this, update_statusbar_cursor_position = move(update_statusbar_cursor_position)](auto& url) {
|
||||
if (url.is_valid())
|
||||
|
|
|
@ -104,7 +104,7 @@ private:
|
|||
RefPtr<GUI::Action> m_js_highlight;
|
||||
RefPtr<GUI::Action> m_ini_highlight;
|
||||
|
||||
RefPtr<Web::PageView> m_page_view;
|
||||
RefPtr<Web::InProcessWebView> m_page_view;
|
||||
|
||||
GUI::ActionGroup font_actions;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue