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

Unified Diff: content/browser/devtools/protocol/input_handler.cc

Issue 1146173007: [KeyboardEvent] Cleanup of dispatchKeyEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug227231_devTools
Patch Set: Rebaselined Created 5 years, 7 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 | « content/browser/devtools/protocol/input_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/input_handler.cc
diff --git a/content/browser/devtools/protocol/input_handler.cc b/content/browser/devtools/protocol/input_handler.cc
index 33fd42b7b48ac6e78c490998e42767fb7981fc9f..f30edd20e39d61bbcea3d4674a05768dfeef67a6 100644
--- a/content/browser/devtools/protocol/input_handler.cc
+++ b/content/browser/devtools/protocol/input_handler.cc
@@ -218,26 +218,6 @@ Response InputHandler::DispatchKeyEvent(
return Response::OK();
}
-Response InputHandler::DispatchKeyEvent(
- const std::string& type,
- const int* modifiers,
- const double* timestamp,
- const std::string* text,
- const std::string* unmodified_text,
- const std::string* key_identifier,
- const std::string* code,
- const int* windows_virtual_key_code,
- const int* native_virtual_key_code,
- const bool* auto_repeat,
- const bool* is_keypad,
- const bool* is_system_key) {
- std::string dom_key;
- return InputHandler::DispatchKeyEvent(type, modifiers, timestamp, text,
- unmodified_text, key_identifier, code, &dom_key,
- windows_virtual_key_code, native_virtual_key_code, auto_repeat,
- is_keypad, is_system_key);
-}
-
Response InputHandler::DispatchMouseEvent(
const std::string& type,
int x,
« no previous file with comments | « content/browser/devtools/protocol/input_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698