OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ |
6 #define UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ | 6 #define UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ |
7 | 7 |
8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
9 #include "ui/keyboard/keyboard_export.h" | 9 #include "ui/keyboard/keyboard_export.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 class WebUI; | 12 class WebUI; |
13 }; | 13 }; |
14 | 14 |
15 namespace keyboard { | 15 namespace keyboard { |
16 | 16 |
17 // WebUIController for chrome://keyboard/. | 17 // WebUIController for chrome://keyboard/. |
18 class KEYBOARD_EXPORT KeyboardUIController : public content::WebUIController { | 18 class KEYBOARD_EXPORT KeyboardUIController : public content::WebUIController { |
19 public: | 19 public: |
20 // Creates a WebUIController for chrome://keyboard. | |
Ben Goodger (Google)
2013/04/18 19:50:38
seems unnecessary given the class-level comment.
bryeung
2013/04/18 20:05:08
Done.
| |
20 explicit KeyboardUIController(content::WebUI* web_ui); | 21 explicit KeyboardUIController(content::WebUI* web_ui); |
21 virtual ~KeyboardUIController(); | 22 virtual ~KeyboardUIController(); |
22 | 23 |
23 private: | 24 private: |
24 DISALLOW_COPY_AND_ASSIGN(KeyboardUIController); | 25 DISALLOW_COPY_AND_ASSIGN(KeyboardUIController); |
25 }; | 26 }; |
26 | 27 |
27 } // namespace keyboard | 28 } // namespace keyboard |
28 | 29 |
29 #endif // UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ | 30 #endif // UI_KEYBOARD_KEYBOARD_UI_CONTROLLER_H_ |
OLD | NEW |