| 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_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/prefs/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
| 11 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 11 #include "chrome/browser/ui/webui/options2/options_ui2.h" |
| 12 | 12 |
| 13 namespace chromeos { | 13 namespace chromeos { |
| 14 namespace options2 { | 14 namespace options2 { |
| 15 | 15 |
| 16 // Customize modifier keys overlay page UI handler. | 16 // Customize modifier keys overlay page UI handler. |
| 17 class KeyboardHandler : public ::options2::OptionsPageUIHandler { | 17 class KeyboardHandler : public OptionsPageUIHandler { |
| 18 public: | 18 public: |
| 19 KeyboardHandler(); | 19 KeyboardHandler(); |
| 20 virtual ~KeyboardHandler(); | 20 virtual ~KeyboardHandler(); |
| 21 | 21 |
| 22 // OptionsPageUIHandler implementation. | 22 // OptionsPageUIHandler implementation. |
| 23 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; | 23 virtual void GetLocalizedValues(DictionaryValue* localized_strings) 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 options2 | 29 } // namespace options2 |
| 30 } // namespace chromeos | 30 } // namespace chromeos |
| 31 | 31 |
| 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ | 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_KEYBOARD_HANDLER2_H_ |
| OLD | NEW |