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

Unified Diff: ui/keyboard/keyboard_ui_handler.h

Issue 16972006: Insert text directly from the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include Created 7 years, 6 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 | « ui/base/events/key_identifier_conversion_unittest.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_ui_handler.h
diff --git a/ui/keyboard/keyboard_ui_handler.h b/ui/keyboard/keyboard_ui_handler.h
index 0aaac83d5719650e11218ed765c7be600b23099c..0800453192d5bcbdcc54b34a84614ab800dc9134 100644
--- a/ui/keyboard/keyboard_ui_handler.h
+++ b/ui/keyboard/keyboard_ui_handler.h
@@ -11,8 +11,8 @@
namespace keyboard {
-// The WebUI handler for chrome://keyboard. Delivers events to the
-// aura::RootWindow associated with the WebUI.
+// The WebUI handler for chrome://keyboard. Inserts text into the currently
+// focused TextInputClient.
class KeyboardUIHandler : public content::WebUIMessageHandler {
public:
KeyboardUIHandler();
@@ -22,8 +22,8 @@ class KeyboardUIHandler : public content::WebUIMessageHandler {
// |content::WebUIMessageHandler| implementation:
virtual void RegisterMessages() OVERRIDE;
- // Callback for the "sendKeyEvent" message.
- void HandleSendKeyEventMessage(const base::ListValue* args);
+ // Callback for the "insertText" message.
+ void HandleInsertTextMessage(const base::ListValue* args);
DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler);
};
« no previous file with comments | « ui/base/events/key_identifier_conversion_unittest.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698