mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb+WebContent: Virtualize PageClient methods needed for all clients
This commit is contained in:
parent
1f08cb7020
commit
c917a59abe
Notes:
sideshowbarker
2024-07-17 04:11:13 +09:00
Author: https://github.com/trflynn89
Commit: c917a59abe
Pull-request: https://github.com/SerenityOS/serenity/pull/16145
Reviewed-by: https://github.com/linusg
3 changed files with 9 additions and 6 deletions
|
@ -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() { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue