OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ | |
6 #define UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | |
10 #include "content/public/browser/web_ui_message_handler.h" | |
11 | |
12 namespace keyboard { | |
13 | |
14 // The WebUI handler for chrome://keyboard. | |
15 class KeyboardUIHandler : public content::WebUIMessageHandler { | |
16 public: | |
17 // Construct a handler that will deliver events to the RootWindow associated | |
18 // with the WebUI. | |
Ben Goodger (Google)
2013/04/18 19:50:38
Merge this with the class level comment then delet
bryeung
2013/04/18 20:05:08
Done.
| |
19 KeyboardUIHandler(); | |
20 | |
Ben Goodger (Google)
2013/04/18 19:50:38
delete nl
bryeung
2013/04/18 20:05:08
Done.
| |
21 virtual ~KeyboardUIHandler(); | |
22 | |
23 // |content::WebUIMessageHandler| implementation: | |
24 virtual void RegisterMessages() OVERRIDE; | |
Ben Goodger (Google)
2013/04/18 19:50:38
move -> private
bryeung
2013/04/18 20:05:08
Done.
| |
25 | |
26 private: | |
27 // Callback for the "sendKeyEvent" message. | |
28 void HandleSendKeyEventMessage(const base::ListValue* args); | |
29 | |
30 DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler); | |
31 }; | |
32 | |
33 } // namespace keyboard | |
34 | |
35 #endif // UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_ | |
OLD | NEW |