summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_json_requests.h
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 02:12:42 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 02:12:42 +0000
commit2f2186cf42eac670305acf001a41d5780440b932 (patch)
treecb1794b571c42290e84d16747d6dd9b97f780759 /chrome/test/automation/automation_json_requests.h
parentb3e21e72aade511ae617f668891b2294d2bff20e (diff)
downloadchromium_src-2f2186cf42eac670305acf001a41d5780440b932.zip
chromium_src-2f2186cf42eac670305acf001a41d5780440b932.tar.gz
chromium_src-2f2186cf42eac670305acf001a41d5780440b932.tar.bz2
Implement the webdriver window sizing commands.
BUG=107630 TEST=none Review URL: http://codereview.chromium.org/9288051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/automation_json_requests.h')
-rw-r--r--chrome/test/automation/automation_json_requests.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/test/automation/automation_json_requests.h b/chrome/test/automation/automation_json_requests.h
index 5d35400..1f71ccb 100644
--- a/chrome/test/automation/automation_json_requests.h
+++ b/chrome/test/automation/automation_json_requests.h
@@ -404,6 +404,16 @@ bool SendDragAndDropFilePathsJSONRequest(
const std::vector<FilePath::StringType>& paths,
automation::Error* error) WARN_UNUSED_RESULT;
+// Requests to set the given view's bounds. Returns true on success.
+bool SendSetViewBoundsJSONRequest(
+ AutomationMessageSender* sender,
+ const WebViewId& id,
+ int x,
+ int y,
+ int width,
+ int height,
+ automation::Error* error) WARN_UNUSED_RESULT;
+
// Requests to get the active JavaScript modal dialog's message. Returns true
// on success.
bool SendGetAppModalDialogMessageJSONRequest(