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

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

Issue 14161009: WebUIHandler for chrome://keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 7 years, 8 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 (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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698