diff options
Diffstat (limited to 'Userland/Services/WebContent/PageHost.h')
-rw-r--r-- | Userland/Services/WebContent/PageHost.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h index c70efb4942..455d47fb26 100644 --- a/Userland/Services/WebContent/PageHost.h +++ b/Userland/Services/WebContent/PageHost.h @@ -38,6 +38,8 @@ public: void set_window_position(Gfx::IntPoint const&); void set_window_size(Gfx::IntSize const&); + Gfx::IntSize const& content_size() const { return m_content_size; } + private: // ^PageClient virtual Gfx::Palette palette() const override; @@ -81,6 +83,7 @@ private: NonnullOwnPtr<Web::Page> m_page; RefPtr<Gfx::PaletteImpl> m_palette_impl; Gfx::IntRect m_screen_rect; + Gfx::IntSize m_content_size; bool m_should_show_line_box_borders { false }; bool m_has_focus { false }; |