diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-25 12:02:05 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-25 07:58:58 -0700 |
commit | 2a021084e54d9b4ebf2e80138380fe3808a1e780 (patch) | |
tree | d382df924ae6eddbb4fe42a4a76b6333406a154f /Ladybird/Tab.h | |
parent | eecee7369fb4566cdb057ffb764a5fd63f00a0fb (diff) | |
download | serenity-2a021084e54d9b4ebf2e80138380fe3808a1e780.zip |
Ladybird: Rename WebView to SimpleWebView
This will allow us to share code with LibWebView from SerenityOS.
(This would otherwise not work, since its "WebView" namespace collides
with our "WebView" class.)
Also, we should eventually move towards a more sophisticated
multi-process WebView like OOPWV.
Diffstat (limited to 'Ladybird/Tab.h')
-rw-r--r-- | Ladybird/Tab.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ladybird/Tab.h b/Ladybird/Tab.h index 3a8373335d..8fd31322ae 100644 --- a/Ladybird/Tab.h +++ b/Ladybird/Tab.h @@ -10,7 +10,7 @@ #define AK_DONT_REPLACE_STD #include "History.h" -#include "WebView.h" +#include "SimpleWebView.h" #include <QBoxLayout> #include <QLabel> #include <QLineEdit> @@ -24,7 +24,7 @@ class Tab final : public QWidget { public: explicit Tab(BrowserWindow* window); - WebView& view() { return *m_view; } + SimpleWebView& view() { return *m_view; } void navigate(QString); @@ -52,7 +52,7 @@ private: QBoxLayout* m_layout; QToolBar* m_toolbar { nullptr }; QLineEdit* m_location_edit { nullptr }; - WebView* m_view { nullptr }; + SimpleWebView* m_view { nullptr }; BrowserWindow* m_window { nullptr }; Browser::History m_history; QString m_title; |