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

Unified Diff: ui/keyboard/keyboard_ui_handler.h

Issue 20145004: Switch from text insertion to key press and release events on the virtual k… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code cleanup. Created 7 years, 3 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
Index: ui/keyboard/keyboard_ui_handler.h
diff --git a/ui/keyboard/keyboard_ui_handler.h b/ui/keyboard/keyboard_ui_handler.h
index 5ff05a05a8228646e5f043d8864d5b43d5bf649f..719852fdb97d223c65c19bee18c1b421021b07aa 100644
--- a/ui/keyboard/keyboard_ui_handler.h
+++ b/ui/keyboard/keyboard_ui_handler.h
@@ -29,6 +29,11 @@ class KeyboardUIHandler : public content::WebUIMessageHandler {
// |args| should be an integer representing request ID.
void HandleGetInputContextMessage(const base::ListValue* args);
+ // Callback for the "sendKeyEvent" message. The first element in |args| is a
+ // dictionary containing an event type, the character being pressed or
+ // released, a virtual key code, and the state of the shift key.
+ void HandleSendKeyEventMessage(const base::ListValue* args);
+
DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler);
};

Powered by Google App Engine
This is Rietveld 408576698