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

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

Issue 9288051: Implement the webdriver window sizing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 11 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
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/webdriver_automation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_automation.h
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h
index 098128773f3477e02b583dba97dfa54ac3ad2060..feb72e8a57fc620723ea4f6422435d4c8fff0f9b 100644
--- a/chrome/test/webdriver/webdriver_automation.h
+++ b/chrome/test/webdriver/webdriver_automation.h
@@ -37,6 +37,7 @@ namespace webdriver {
class Error;
class FramePath;
class Point;
+class Rect;
// Creates and controls the Chrome instance.
// This class should be created and accessed on a single thread.
@@ -166,6 +167,12 @@ class Automation {
// Closes the given view.
void CloseView(const WebViewId& view_id, Error** error);
+ // Sets the bounds for the given view. The position should be in screen
+ // coordinates, while the size should be the desired size of the view.
+ void SetViewBounds(const WebViewId& view_id,
+ const Rect& bounds,
+ Error** error);
+
// Gets the active JavaScript modal dialog's message.
void GetAppModalDialogMessage(std::string* message, Error** error);
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/webdriver_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698