mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +00:00
Browser: Inform WebView processes of the browser window's position/size
This commit is contained in:
parent
6aea60e6ee
commit
325e3c7bc6
5 changed files with 53 additions and 0 deletions
|
@ -43,6 +43,9 @@ public:
|
|||
void content_filters_changed();
|
||||
void proxy_mappings_changed();
|
||||
|
||||
void broadcast_window_position(Gfx::IntPoint const&);
|
||||
void broadcast_window_size(Gfx::IntSize const&);
|
||||
|
||||
private:
|
||||
explicit BrowserWindow(CookieJar&, URL);
|
||||
|
||||
|
@ -53,6 +56,8 @@ private:
|
|||
virtual void config_string_did_change(String const& domain, String const& group, String const& key, String const& value) override;
|
||||
virtual void config_bool_did_change(String const& domain, String const& group, String const& key, bool value) override;
|
||||
|
||||
virtual void event(Core::Event&) override;
|
||||
|
||||
RefPtr<GUI::Action> m_go_back_action;
|
||||
RefPtr<GUI::Action> m_go_forward_action;
|
||||
RefPtr<GUI::Action> m_go_home_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue