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

Side by Side Diff: athena/virtual_keyboard/vk_message_handler.h

Issue 328303008: athena: Use mojo to provide the bindings for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_VIRTUAL_KEYBOARD_VK_MESSAGE_HANDLER_H_
6 #define ATHENA_VIRTUAL_KEYBOARD_VK_MESSAGE_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "content/public/browser/web_ui_message_handler.h"
10
11 namespace base {
12 class ListValue;
13 }
14
15 namespace athena {
16
17 // Processes WebUI messages for chrome://keyboard.
18 class VKMessageHandler : public content::WebUIMessageHandler {
19 public:
20 VKMessageHandler();
21 virtual ~VKMessageHandler();
22
23 private:
24 // WebUI message callbacks.
25 void SendKeyEvent(const base::ListValue* params);
26 void HideKeyboard(const base::ListValue* params);
27
28 // content::WebUIMessageHandler:
29 virtual void RegisterMessages() OVERRIDE;
30
31 DISALLOW_COPY_AND_ASSIGN(VKMessageHandler);
32 };
33
34 } // namespace athena
35
36 #endif // ATHENA_VIRTUAL_KEYBOARD_VK_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « athena/virtual_keyboard/virtual_keyboard_manager_impl.cc ('k') | athena/virtual_keyboard/vk_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698