Move "pack" button in the top toolbar to an action in the list of unpacked items.
[chromium-blink-merge.git] / ui / keyboard / keyboard_ui_handler.h
blob0aaac83d5719650e11218ed765c7be600b23099c
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.
5 #ifndef UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
6 #define UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "content/public/browser/web_ui_message_handler.h"
12 namespace keyboard {
14 // The WebUI handler for chrome://keyboard. Delivers events to the
15 // aura::RootWindow associated with the WebUI.
16 class KeyboardUIHandler : public content::WebUIMessageHandler {
17 public:
18 KeyboardUIHandler();
19 virtual ~KeyboardUIHandler();
21 private:
22 // |content::WebUIMessageHandler| implementation:
23 virtual void RegisterMessages() OVERRIDE;
25 // Callback for the "sendKeyEvent" message.
26 void HandleSendKeyEventMessage(const base::ListValue* args);
28 DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler);
31 } // namespace keyboard
33 #endif // UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_