Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3168)

Unified Diff: chrome/test/webdriver/webdriver_automation.h

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test in chromedriver_tests.py; nicer error reporting - a method to check whether the current v… Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/webdriver/webdriver_automation.h
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h
index 13d477568a96836c26edd4cfdc5a3188138ee03a..9a4afb8171159acaa33312f664963283f4513522 100644
--- a/chrome/test/webdriver/webdriver_automation.h
+++ b/chrome/test/webdriver/webdriver_automation.h
@@ -182,6 +182,9 @@ class Automation {
const Rect& bounds,
Error** error);
+ // Maximizes the given view.
+ void MaximizeView(const WebViewId& view_id, Error** error);
+
// Gets the active JavaScript modal dialog's message.
void GetAppModalDialogMessage(std::string* message, Error** error);
@@ -262,6 +265,7 @@ class Automation {
Error* CheckAdvancedInteractionsSupported();
Error* CheckNewExtensionInterfaceSupported();
Error* CheckGeolocationSupported();
+ Error* CheckMaximizeSupported();
Error* IsNewMouseApiSupported(bool* supports_new_api);
const Logger& logger_;

Powered by Google App Engine
This is Rietveld 408576698