| 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/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/prefs/pref_member.h" | |
| 11 #include "chrome/browser/ui/webui/options/options_ui.h" | 10 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 11 #include "components/prefs/pref_member.h" |
| 12 #include "ui/events/devices/input_device_event_observer.h" | 12 #include "ui/events/devices/input_device_event_observer.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 namespace options { | 15 namespace options { |
| 16 | 16 |
| 17 // Customize modifier keys overlay page UI handler. | 17 // Customize modifier keys overlay page UI handler. |
| 18 class KeyboardHandler | 18 class KeyboardHandler |
| 19 : public ::options::OptionsPageUIHandler, | 19 : public ::options::OptionsPageUIHandler, |
| 20 public ui::InputDeviceEventObserver { | 20 public ui::InputDeviceEventObserver { |
| 21 public: | 21 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 // external keyboard connected. | 38 // external keyboard connected. |
| 39 void UpdateCapsLockOptions() const; | 39 void UpdateCapsLockOptions() const; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(KeyboardHandler); | 41 DISALLOW_COPY_AND_ASSIGN(KeyboardHandler); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace options | 44 } // namespace options |
| 45 } // namespace chromeos | 45 } // namespace chromeos |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ | 47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_ |
| OLD | NEW |