Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: chrome/test/webdriver/webdriver_automation.cc

Issue 11818029: [chromedriver] Remove support for simulating OS-level key events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.h ('k') | chrome/test/webdriver/webdriver_capabilities_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.h ('k') | chrome/test/webdriver/webdriver_capabilities_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698