Chromium Code Reviews| 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..9003141a4aa23a1f15378ead4f9e86311b87700f 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", "Maximize"); |
|
kkania
2012/05/23 17:49:20
This is different from what you had in testing_aut
zori
2012/05/24 00:39:33
True, that's how a unit test would have been usefu
|
| + id.UpdateDictionary(&dict, "auto_id"); |
| + |
| + DictionaryValue reply_dict; |
| + return SendAutomationJSONRequest(sender, dict, &reply_dict, error); |
| +} |
| + |
| bool SendGetAppModalDialogMessageJSONRequest( |
| AutomationMessageSender* sender, |
| std::string* message, |