| Index: chrome/test/webdriver/automation.cc
|
| ===================================================================
|
| --- chrome/test/webdriver/automation.cc (revision 76851)
|
| +++ chrome/test/webdriver/automation.cc (working copy)
|
| @@ -242,6 +242,7 @@
|
|
|
| void Automation::SendWebKeyEvent(int tab_id,
|
| const WebKeyEvent& key_event,
|
| + bool use_native_events,
|
| bool* success) {
|
| std::string reply;
|
| DictionaryValue dict;
|
| @@ -254,6 +255,7 @@
|
| dict.SetString("text", key_event.modified_text);
|
| dict.SetInteger("modifiers", key_event.modifiers);
|
| dict.SetBoolean("isSystemKey", false);
|
| + dict.SetBoolean("useNativeEvents", use_native_events);
|
|
|
| *success = SendJSONRequest(tab_id, dict, &reply);
|
| if (!*success) {
|
|
|