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

Unified Diff: chrome/test/automation/window_proxy.h

Issue 149233: Adds a way to set the boundaries of the browser window through... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/automation/automation_messages_internal.h ('k') | chrome/test/automation/window_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/window_proxy.h
===================================================================
--- chrome/test/automation/window_proxy.h (revision 19980)
+++ chrome/test/automation/window_proxy.h (working copy)
@@ -82,6 +82,11 @@
bool GetViewBoundsWithTimeout(int view_id, gfx::Rect* bounds,
bool screen_coordinates, uint32 timeout_ms,
bool* is_timeout);
+
+ // Sets the position and size of the window. Returns true if setting the
+ // bounds was successful.
+ bool SetBounds(const gfx::Rect& bounds);
+
// Gets the id of the view that currently has focus. Returns true if the id
// was retrieved.
bool GetFocusedViewID(int* view_id);
« no previous file with comments | « chrome/test/automation/automation_messages_internal.h ('k') | chrome/test/automation/window_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698