diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-11-21 15:22:26 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-24 00:10:56 +0000 |
commit | c917a59abe6338ef72be4fe1e13ecda83e6e0064 (patch) | |
tree | 85ec56150f00862e42608d38ccbd711487aab670 /Userland/Libraries/LibWeb/Page | |
parent | 1f08cb7020dd6f916852c2d40bd63a016875a798 (diff) | |
download | serenity-c917a59abe6338ef72be4fe1e13ecda83e6e0064.zip |
LibWeb+WebContent: Virtualize PageClient methods needed for all clients
Diffstat (limited to 'Userland/Libraries/LibWeb/Page')
-rw-r--r-- | Userland/Libraries/LibWeb/Page/Page.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Page/Page.h b/Userland/Libraries/LibWeb/Page/Page.h index 135281691d..b00f2c6ca1 100644 --- a/Userland/Libraries/LibWeb/Page/Page.h +++ b/Userland/Libraries/LibWeb/Page/Page.h @@ -133,10 +133,13 @@ private: class PageClient { public: + virtual Page& page() = 0; + virtual Page const& page() const = 0; virtual bool is_connection_open() const = 0; virtual Gfx::Palette palette() const = 0; virtual Gfx::IntRect screen_rect() const = 0; virtual CSS::PreferredColorScheme preferred_color_scheme() const = 0; + virtual void paint(Gfx::IntRect const&, Gfx::Bitmap&) = 0; virtual void page_did_change_title(String const&) { } virtual void page_did_start_loading(const AK::URL&) { } virtual void page_did_create_main_document() { } |