| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ | 5 #ifndef ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ |
| 6 #define ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ | 6 #define ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/shell_observer.h" | 9 #include "ash/common/shell_observer.h" |
| 10 #include "ash/system/tray/system_tray_notifier.h" | |
| 11 #include "base/macros.h" | 10 #include "base/macros.h" |
| 12 #include "ui/events/devices/input_device_event_observer.h" | 11 #include "ui/events/devices/input_device_event_observer.h" |
| 13 | 12 |
| 14 namespace ash { | 13 namespace ash { |
| 15 | 14 |
| 16 // This class observes input device changes for the virtual keyboard. | 15 // This class observes input device changes for the virtual keyboard. |
| 17 class ASH_EXPORT VirtualKeyboardController | 16 class ASH_EXPORT VirtualKeyboardController |
| 18 : public ShellObserver, | 17 : public ShellObserver, |
| 19 public ui::InputDeviceEventObserver { | 18 public ui::InputDeviceEventObserver { |
| 20 public: | 19 public: |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 bool has_touchscreen_; | 51 bool has_touchscreen_; |
| 53 // True if the presense of an external keyboard should be ignored. | 52 // True if the presense of an external keyboard should be ignored. |
| 54 bool ignore_external_keyboard_; | 53 bool ignore_external_keyboard_; |
| 55 | 54 |
| 56 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); | 55 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace ash | 58 } // namespace ash |
| 60 | 59 |
| 61 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ | 60 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ |
| OLD | NEW |