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 UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ |
6 #define UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 // Mouse button map. | 102 // Mouse button map. |
103 MouseButtonMapEvdev button_map_; | 103 MouseButtonMapEvdev button_map_; |
104 | 104 |
105 // Keyboard state. | 105 // Keyboard state. |
106 KeyboardEvdev keyboard_; | 106 KeyboardEvdev keyboard_; |
107 | 107 |
108 // Cursor movement. | 108 // Cursor movement. |
109 CursorDelegateEvdev* cursor_; | 109 CursorDelegateEvdev* cursor_; |
110 | 110 |
111 #if defined(USE_EVDEV_GESTURES) | |
112 // Gesture library property provider (used by touchpads/mice). | |
113 scoped_ptr<GesturePropertyProvider> gesture_property_provider_; | |
114 #endif | |
115 | |
116 // Object for controlling input devices. | 111 // Object for controlling input devices. |
117 InputControllerEvdev input_controller_; | 112 InputControllerEvdev input_controller_; |
118 | 113 |
119 // Whether we've set up the device factory & done initial scan. | 114 // Whether we've set up the device factory & done initial scan. |
120 bool initialized_; | 115 bool initialized_; |
121 | 116 |
122 // Support weak pointers for attach & detach callbacks. | 117 // Support weak pointers for attach & detach callbacks. |
123 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_; | 118 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_; |
124 | 119 |
125 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); | 120 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); |
126 }; | 121 }; |
127 | 122 |
128 } // namespace ui | 123 } // namespace ui |
129 | 124 |
130 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ | 125 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ |
OLD | NEW |