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_INPUT_DEVICE_FACTORY_EVDEV_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ |
6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" |
17 #include "base/task_runner.h" | 18 #include "base/task_runner.h" |
18 #include "ui/events/ozone/evdev/event_converter_evdev.h" | 19 #include "ui/events/ozone/evdev/event_converter_evdev.h" |
19 #include "ui/events/ozone/evdev/event_device_info.h" | 20 #include "ui/events/ozone/evdev/event_device_info.h" |
20 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" | 21 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
21 #include "ui/events/ozone/evdev/input_device_settings_evdev.h" | 22 #include "ui/events/ozone/evdev/input_device_settings_evdev.h" |
22 | 23 |
23 namespace ui { | 24 namespace ui { |
24 | 25 |
25 class CursorDelegateEvdev; | 26 class CursorDelegateEvdev; |
26 class DeviceEventDispatcherEvdev; | 27 class DeviceEventDispatcherEvdev; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 133 |
133 // Support weak pointers for attach & detach callbacks. | 134 // Support weak pointers for attach & detach callbacks. |
134 base::WeakPtrFactory<InputDeviceFactoryEvdev> weak_ptr_factory_; | 135 base::WeakPtrFactory<InputDeviceFactoryEvdev> weak_ptr_factory_; |
135 | 136 |
136 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdev); | 137 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdev); |
137 }; | 138 }; |
138 | 139 |
139 } // namespace ui | 140 } // namespace ui |
140 | 141 |
141 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ | 142 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ |
OLD | NEW |