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

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

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/window_proxy.h ('k') | chrome/test/startup/feature_startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/window_proxy.cc
===================================================================
--- chrome/test/automation/window_proxy.cc (revision 19980)
+++ chrome/test/automation/window_proxy.cc (working copy)
@@ -106,6 +106,15 @@
return result;
}
+bool WindowProxy::SetBounds(const gfx::Rect& bounds) {
+ if (!is_valid())
+ return false;
+ bool result = false;
+ sender_->Send(new AutomationMsg_SetWindowBounds(0, handle_, bounds,
+ &result));
+ return result;
+}
+
bool WindowProxy::GetFocusedViewID(int* view_id) {
if (!is_valid()) return false;
« no previous file with comments | « chrome/test/automation/window_proxy.h ('k') | chrome/test/startup/feature_startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698