| Index: ui/keyboard/keyboard_ui_controller.h
|
| diff --git a/ui/keyboard/keyboard_ui_controller.h b/ui/keyboard/keyboard_ui_controller.h
|
| index b06ec26c8e27c4caa078e27e1e0c29afd247a40e..2d02165c91b003a0fa83c74c4e520df38eea3aee 100644
|
| --- a/ui/keyboard/keyboard_ui_controller.h
|
| +++ b/ui/keyboard/keyboard_ui_controller.h
|
| @@ -8,6 +8,10 @@
|
| #include "content/public/browser/web_ui_controller.h"
|
| #include "ui/keyboard/keyboard_export.h"
|
|
|
| +namespace aura {
|
| +class RootWindow;
|
| +};
|
| +
|
| namespace content {
|
| class WebUI;
|
| };
|
| @@ -17,10 +21,18 @@ namespace keyboard {
|
| // WebUIController for chrome://keyboard/.
|
| class KEYBOARD_EXPORT KeyboardUIController : public content::WebUIController {
|
| public:
|
| + // Creates a WebUIController for chrome://keyboard that will log events.
|
| explicit KeyboardUIController(content::WebUI* web_ui);
|
| +
|
| + // Creates a WebUIController for chrome://keyboard that will route events
|
| + // from the keyboard to |root_window|.
|
| + KeyboardUIController(content::WebUI* web_ui, aura::RootWindow* root_window);
|
| +
|
| virtual ~KeyboardUIController();
|
|
|
| private:
|
| + void Init(content::WebUI* web_ui, aura::RootWindow* root_window);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(KeyboardUIController);
|
| };
|
|
|
|
|