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

LibWeb+Browser: Remove Web::WebViewHooks class

This was a mixin class that allowed sharing a set of hooks between
InProcessWebView and OutOfProcessWebView. Now that there is only OOPWV,
we don't need the mixin.
This commit is contained in:
Andreas Kling 2022-04-06 15:15:07 +02:00
parent 59e8dedea2
commit 06d97c892b
5 changed files with 66 additions and 100 deletions

View file

@ -18,7 +18,6 @@
namespace Web {
class OutOfProcessWebView;
class WebViewHooks;
}
namespace Browser {
@ -79,7 +78,7 @@ public:
String const& title() const { return m_title; }
Gfx::Bitmap const* icon() const { return m_icon; }
GUI::AbstractScrollableWidget& view();
Web::OutOfProcessWebView& view() { return *m_web_content_view; }
private:
explicit Tab(BrowserWindow&);
@ -87,7 +86,6 @@ private:
BrowserWindow const& window() const;
BrowserWindow& window();
Web::WebViewHooks& hooks();
void update_actions();
void bookmark_current_url();
void update_bookmark_button(String const& url);