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

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

Issue 10388251: Support maximize window command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_session.h
diff --git a/chrome/test/webdriver/webdriver_session.h b/chrome/test/webdriver/webdriver_session.h
index 71e53e6a956351d81e84cd5c280a22803a7f5f5d..6c9b5f07f455fa1401ceb0c394f3bfa3771d8cbe 100644
--- a/chrome/test/webdriver/webdriver_session.h
+++ b/chrome/test/webdriver/webdriver_session.h
@@ -184,6 +184,9 @@ class Session {
// Sets the bounds for the specified window.
Error* SetWindowBounds(const WebViewId& window, const Rect& bounds);
+ // Maximizes the specified window.
+ Error* MaximizeWindow(const WebViewId& window);
+
// Gets the message of the currently active JavaScript modal dialog.
Error* GetAlertMessage(std::string* text);
@@ -367,7 +370,7 @@ class Session {
Error* ClearStorage(StorageType type);
// Gets the keys of all items of the HTML5 localStorage object. If there are
- // no errors, the function sets |value| and the caller takes ownership.
+ // no errors, the function sets |keys| and the caller takes ownership.
Error* GetStorageKeys(StorageType type, base::ListValue** keys);
// Gets the current geolocation.

Powered by Google App Engine
This is Rietveld 408576698