OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/prefs/public/pref_member.h" | 9 #include "base/prefs/pref_member.h" |
10 #include "chrome/browser/ui/webui/options/options_ui.h" | 10 #include "chrome/browser/ui/webui/options/options_ui.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 namespace options { | 13 namespace options { |
14 | 14 |
15 // Customize modifier keys overlay page UI handler. | 15 // Customize modifier keys overlay page UI handler. |
16 class KeyboardHandler : public ::options::OptionsPageUIHandler { | 16 class KeyboardHandler : public ::options::OptionsPageUIHandler { |
17 public: | 17 public: |
18 KeyboardHandler(); | 18 KeyboardHandler(); |
19 virtual ~KeyboardHandler(); | 19 virtual ~KeyboardHandler(); |
20 | 20 |
21 // OptionsPageUIHandler implementation. | 21 // OptionsPageUIHandler implementation. |
22 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; | 22 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; |
23 virtual void InitializePage() OVERRIDE; | 23 virtual void InitializePage() OVERRIDE; |
24 | 24 |
25 private: | 25 private: |
26 DISALLOW_COPY_AND_ASSIGN(KeyboardHandler); | 26 DISALLOW_COPY_AND_ASSIGN(KeyboardHandler); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace options | 29 } // namespace options |
30 } // namespace chromeos | 30 } // namespace chromeos |
31 | 31 |
32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ | 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ |
OLD | NEW |