| 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 <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/task_runner.h" | 18 #include "base/task_runner.h" |
| 19 #include "ui/events/ozone/evdev/event_converter_evdev.h" | 19 #include "ui/events/ozone/evdev/event_converter_evdev.h" |
| 20 #include "ui/events/ozone/evdev/event_device_info.h" | 20 #include "ui/events/ozone/evdev/event_device_info.h" |
| 21 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" | 21 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
| 22 #include "ui/events/ozone/evdev/input_device_settings_evdev.h" | 22 #include "ui/events/ozone/evdev/input_device_settings_evdev.h" |
| 23 | 23 |
| 24 namespace ui { | 24 namespace ui { |
| 25 | 25 |
| 26 class CursorDelegateEvdev; | 26 class CursorDelegateEvdev; |
| 27 class DeviceEventDispatcherEvdev; | 27 class DeviceEventDispatcherEvdev; |
| 28 class InputDeviceFactoryEvdevProxy; | |
| 29 | 28 |
| 30 #if !defined(USE_EVDEV) | 29 #if !defined(USE_EVDEV) |
| 31 #error Missing dependency on ui/events/ozone:events_ozone_evdev | 30 #error Missing dependency on ui/events/ozone:events_ozone_evdev |
| 32 #endif | 31 #endif |
| 33 | 32 |
| 34 #if defined(USE_EVDEV_GESTURES) | 33 #if defined(USE_EVDEV_GESTURES) |
| 35 class GesturePropertyProvider; | 34 class GesturePropertyProvider; |
| 36 #endif | 35 #endif |
| 37 | 36 |
| 38 typedef base::Callback<void(std::unique_ptr<std::string>)> | 37 typedef base::Callback<void(std::unique_ptr<std::string>)> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 139 |
| 141 // Support weak pointers for attach & detach callbacks. | 140 // Support weak pointers for attach & detach callbacks. |
| 142 base::WeakPtrFactory<InputDeviceFactoryEvdev> weak_ptr_factory_; | 141 base::WeakPtrFactory<InputDeviceFactoryEvdev> weak_ptr_factory_; |
| 143 | 142 |
| 144 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdev); | 143 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdev); |
| 145 }; | 144 }; |
| 146 | 145 |
| 147 } // namespace ui | 146 } // namespace ui |
| 148 | 147 |
| 149 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ | 148 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_EVDEV_H_ |
| OLD | NEW |