| Index: chrome/test/automation/automation_json_requests.cc
|
| diff --git a/chrome/test/automation/automation_json_requests.cc b/chrome/test/automation/automation_json_requests.cc
|
| index a9e349c0dd3121e9e3eb0ccf5a572051ae4bd1e1..af122f64b3693d1683830e726b7b486dc5c0a4dc 100644
|
| --- a/chrome/test/automation/automation_json_requests.cc
|
| +++ b/chrome/test/automation/automation_json_requests.cc
|
| @@ -674,6 +674,26 @@ bool SendDragAndDropFilePathsJSONRequest(
|
| return SendAutomationJSONRequest(sender, dict, &reply_dict, error);
|
| }
|
|
|
| +bool SendSetViewBoundsJSONRequest(
|
| + AutomationMessageSender* sender,
|
| + const WebViewId& id,
|
| + int x,
|
| + int y,
|
| + int width,
|
| + int height,
|
| + automation::Error* error) {
|
| + DictionaryValue dict;
|
| + dict.SetString("command", "SetViewBounds");
|
| + id.UpdateDictionary(&dict, "auto_id");
|
| + dict.SetInteger("bounds.x", x);
|
| + dict.SetInteger("bounds.y", y);
|
| + dict.SetInteger("bounds.width", width);
|
| + dict.SetInteger("bounds.height", height);
|
| +
|
| + DictionaryValue reply_dict;
|
| + return SendAutomationJSONRequest(sender, dict, &reply_dict, error);
|
| +}
|
| +
|
| bool SendGetAppModalDialogMessageJSONRequest(
|
| AutomationMessageSender* sender,
|
| std::string* message,
|
|
|