summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/webdriver_automation.h
diff options
context:
space:
mode:
authorzori@chromium.org <zori@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 00:31:17 +0000
committerzori@chromium.org <zori@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 00:31:17 +0000
commit4ad6c3a7125f38123ad525861215f098599e12e5 (patch)
tree9ae3f66a949925444779476d79070c69135bd863 /chrome/test/webdriver/webdriver_automation.h
parent64a82a5b9bf3ca133cef8963645416ff3ff4c05b (diff)
downloadchromium_src-4ad6c3a7125f38123ad525861215f098599e12e5.zip
chromium_src-4ad6c3a7125f38123ad525861215f098599e12e5.tar.gz
chromium_src-4ad6c3a7125f38123ad525861215f098599e12e5.tar.bz2
Support maximize window command.
BUG=chromedriver:65 TEST= Review URL: https://chromiumcodereview.appspot.com/10388251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver/webdriver_automation.h')
-rw-r--r--chrome/test/webdriver/webdriver_automation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h
index 13d4775..9a4afb8 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_;