| Index: chrome/test/webdriver/webdriver_automation.cc
|
| diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc
|
| index dfb8f78983892f65bd396f9fe647195366721d0e..835a1e8810dc2e773f4040d66ce5d8c883cbafae 100644
|
| --- a/chrome/test/webdriver/webdriver_automation.cc
|
| +++ b/chrome/test/webdriver/webdriver_automation.cc
|
| @@ -710,6 +710,16 @@ void Automation::CloseView(const WebViewId& view_id, Error** error) {
|
| *error = Error::FromAutomationError(auto_error);
|
| }
|
|
|
| +void Automation::SetViewBounds(const WebViewId& view_id,
|
| + const Rect& bounds,
|
| + Error** error) {
|
| + automation::Error auto_error;
|
| + if (!SendSetViewBoundsJSONRequest(
|
| + automation(), view_id, bounds.x(), bounds.y(),
|
| + bounds.width(), bounds.height(), &auto_error))
|
| + *error = Error::FromAutomationError(auto_error);
|
| +}
|
| +
|
| void Automation::GetAppModalDialogMessage(std::string* message, Error** error) {
|
| *error = CheckAlertsSupported();
|
| if (*error)
|
|
|