summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebDriverConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WebContent/WebDriverConnection.h')
-rw-r--r--Userland/Services/WebContent/WebDriverConnection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/WebDriverConnection.h b/Userland/Services/WebContent/WebDriverConnection.h
index 2d84e37be1..369ef20363 100644
--- a/Userland/Services/WebContent/WebDriverConnection.h
+++ b/Userland/Services/WebContent/WebDriverConnection.h
@@ -35,9 +35,13 @@ private:
virtual Messages::WebDriverClient::GetCurrentUrlResponse get_current_url() override;
virtual Messages::WebDriverClient::GetWindowRectResponse get_window_rect() override;
virtual Messages::WebDriverClient::SetWindowRectResponse set_window_rect(JsonValue const& payload) override;
+ virtual Messages::WebDriverClient::MaximizeWindowResponse maximize_window() override;
+ virtual Messages::WebDriverClient::MinimizeWindowResponse minimize_window() override;
ErrorOr<void, Web::WebDriver::Error> ensure_open_top_level_browsing_context();
void restore_the_window();
+ Gfx::IntRect maximize_the_window();
+ Gfx::IntRect iconify_the_window();
ConnectionFromClient& m_web_content_client;
PageHost& m_page_host;