| Index: chrome/test/automation/automation_json_requests.cc
|
| ===================================================================
|
| --- chrome/test/automation/automation_json_requests.cc (revision 79882)
|
| +++ chrome/test/automation/automation_json_requests.cc (working copy)
|
| @@ -449,6 +449,22 @@
|
| return SendAutomationJSONRequest(sender, dict, &reply_dict);
|
| }
|
|
|
| +bool SendNativeKeyEventJSONRequest(
|
| + AutomationMessageSender* sender,
|
| + int browser_index,
|
| + int tab_index,
|
| + ui::KeyboardCode key_code,
|
| + int modifiers) {
|
| + DictionaryValue dict;
|
| + dict.SetString("command", "SendOSLevelKeyEventToTab");
|
| + dict.SetInteger("windex", browser_index);
|
| + dict.SetInteger("tab_index", tab_index);
|
| + dict.SetInteger("keyCode", key_code);
|
| + dict.SetInteger("modifiers", modifiers);
|
| + DictionaryValue reply_dict;
|
| + return SendAutomationJSONRequest(sender, dict, &reply_dict);
|
| +}
|
| +
|
| bool SendWaitForAllTabsToStopLoadingJSONRequest(
|
| AutomationMessageSender* sender) {
|
| DictionaryValue dict;
|
|
|