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; |