mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibWebView+Ladybird: Move page loading to ViewImplementation
This commit is contained in:
parent
2428e3e675
commit
de1c0c87fe
6 changed files with 25 additions and 43 deletions
|
@ -28,6 +28,12 @@ public:
|
|||
String node_box_sizing_json;
|
||||
};
|
||||
|
||||
AK::URL const& url() const { return m_url; }
|
||||
|
||||
void load(AK::URL const&);
|
||||
void load_html(StringView, AK::URL const&);
|
||||
void load_empty_document();
|
||||
|
||||
void zoom_in();
|
||||
void zoom_out();
|
||||
void reset_zoom();
|
||||
|
@ -116,6 +122,8 @@ protected:
|
|||
bool got_repaint_requests_while_painting { false };
|
||||
} m_client_state;
|
||||
|
||||
AK::URL m_url;
|
||||
|
||||
float m_zoom_level { 1.0 };
|
||||
float m_device_pixel_ratio { 1.0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue