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

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

Issue 1143073007: [KeyboardEvent] DOM |Key| support in dispatchKeyEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Instead of copying it reuses other function 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 | « no previous file | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/input_handler.h
diff --git a/content/browser/devtools/protocol/input_handler.h b/content/browser/devtools/protocol/input_handler.h
index 509420aa40095c78248d3efddb533c73aeec143e..463efe92b9298af0db7ae87f024d5ffca9e22519 100644
--- a/content/browser/devtools/protocol/input_handler.h
+++ b/content/browser/devtools/protocol/input_handler.h
@@ -49,6 +49,20 @@ class InputHandler {
const bool* is_keypad,
const bool* is_system_key);
+ Response 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 std::string* key,
+ 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);
+
Response DispatchMouseEvent(const std::string& type,
int x,
int y,
« no previous file with comments | « no previous file | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698