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

Side by Side Diff: ui/keyboard/keyboard_ui_handler.h

Issue 20526005: Implement virtual keyboard hiding. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase yet again 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 unified diff | Download patch
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
6 #define UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ 6 #define UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/web_ui_message_handler.h" 10 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Callback for the "getInputContext" message. The first element in 28 // Callback for the "getInputContext" message. The first element in
29 // |args| should be an integer representing request ID. 29 // |args| should be an integer representing request ID.
30 void HandleGetInputContextMessage(const base::ListValue* args); 30 void HandleGetInputContextMessage(const base::ListValue* args);
31 31
32 // Callback for the "sendKeyEvent" message. The first element in |args| is a 32 // Callback for the "sendKeyEvent" message. The first element in |args| is a
33 // dictionary containing an event type, the character being pressed or 33 // dictionary containing an event type, the character being pressed or
34 // released, a virtual key code, and the state of the shift key. 34 // released, a virtual key code, and the state of the shift key.
35 void HandleSendKeyEventMessage(const base::ListValue* args); 35 void HandleSendKeyEventMessage(const base::ListValue* args);
36 36
37 // Callback for the "hideKeyboard" message.
38 void HandleHideKeyboard(const base::ListValue* args);
39
37 DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler); 40 DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler);
38 }; 41 };
39 42
40 } // namespace keyboard 43 } // namespace keyboard
41 44
42 #endif // UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ 45 #endif // UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698