| 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 3a6fb957aea4dc4e024c7a8c049af899d39bf62d..cdb6272e431639aed80be645117320401d988d1c 100644
|
| --- a/chrome/test/automation/automation_json_requests.cc
|
| +++ b/chrome/test/automation/automation_json_requests.cc
|
| @@ -712,6 +712,18 @@ bool SendSetViewBoundsJSONRequest(
|
| return SendAutomationJSONRequest(sender, dict, &reply_dict, error);
|
| }
|
|
|
| +bool SendMaximizeJSONRequest(
|
| + AutomationMessageSender* sender,
|
| + const WebViewId& id,
|
| + automation::Error* error) {
|
| + DictionaryValue dict;
|
| + dict.SetString("command", "MaximizeView");
|
| + id.UpdateDictionary(&dict, "auto_id");
|
| +
|
| + DictionaryValue reply_dict;
|
| + return SendAutomationJSONRequest(sender, dict, &reply_dict, error);
|
| +}
|
| +
|
| bool SendGetAppModalDialogMessageJSONRequest(
|
| AutomationMessageSender* sender,
|
| std::string* message,
|
|
|