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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/common/shell_observer.h" | 11 #include "ash/shell_observer.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "ui/events/devices/input_device_event_observer.h" | 13 #include "ui/events/devices/input_device_event_observer.h" |
14 #include "ui/keyboard/keyboard_layout_delegate.h" | 14 #include "ui/keyboard/keyboard_layout_delegate.h" |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
17 | 17 |
18 // This class observes input device changes for the virtual keyboard. | 18 // This class observes input device changes for the virtual keyboard. |
19 class ASH_EXPORT VirtualKeyboardController | 19 class ASH_EXPORT VirtualKeyboardController |
20 : public ShellObserver, | 20 : public ShellObserver, |
21 public ui::InputDeviceEventObserver, | 21 public ui::InputDeviceEventObserver, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 bool has_touchscreen_; | 59 bool has_touchscreen_; |
60 // True if the presense of an external keyboard should be ignored. | 60 // True if the presense of an external keyboard should be ignored. |
61 bool ignore_external_keyboard_; | 61 bool ignore_external_keyboard_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); | 63 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace ash | 66 } // namespace ash |
67 | 67 |
68 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ | 68 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ |
OLD | NEW |