| Index: chrome/test/webdriver/automation.cc | 
| =================================================================== | 
| --- chrome/test/webdriver/automation.cc	(revision 79882) | 
| +++ chrome/test/webdriver/automation.cc	(working copy) | 
| @@ -227,11 +227,23 @@ | 
| *success = false; | 
| return; | 
| } | 
| - | 
| *success = SendWebKeyEventJSONRequest( | 
| automation(), windex, tab_index, key_event); | 
| } | 
|  | 
| +void Automation::SendNativeKeyEvent(int tab_id, | 
| +                                    ui::KeyboardCode key_code, | 
| +                                    int modifiers, | 
| +                                    bool* success) { | 
| +  int windex = 0, tab_index = 0; | 
| +  if (!GetIndicesForTab(tab_id, &windex, &tab_index)) { | 
| +    *success = false; | 
| +    return; | 
| +  } | 
| +  *success = SendNativeKeyEventJSONRequest( | 
| +      automation(), windex, tab_index, key_code, modifiers); | 
| +} | 
| + | 
| void Automation::CaptureEntirePageAsPNG(int tab_id, | 
| const FilePath& path, | 
| bool* success) { | 
|  |