Index: chrome/test/webdriver/webdriver_automation.cc |
diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc |
index 903c79cb50f9dbcddf530502944da45f98e0f1bc..74783347f08e44daf69ae3d5b03cfde8970fd3e7 100644 |
--- a/chrome/test/webdriver/webdriver_automation.cc |
+++ b/chrome/test/webdriver/webdriver_automation.cc |
@@ -703,22 +703,6 @@ void Automation::SendWebKeyEvent(const WebViewId& view_id, |
} |
} |
-void Automation::SendNativeKeyEvent(const WebViewId& view_id, |
- ui::KeyboardCode key_code, |
- int modifiers, |
- Error** error) { |
- WebViewLocator view_locator; |
- *error = ConvertViewIdToLocator(view_id, &view_locator); |
- if (*error) |
- return; |
- |
- automation::Error auto_error; |
- if (!SendNativeKeyEventJSONRequest( |
- automation(), view_locator, key_code, modifiers, &auto_error)) { |
- *error = Error::FromAutomationError(auto_error); |
- } |
-} |
- |
void Automation::SendWebMouseEvent(const WebViewId& view_id, |
const WebMouseEvent& event, |
Error** error) { |