| 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_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_CROS
_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_CROS
_H_ |
| 6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_CROS
_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_CROS
_H_ |
| 7 | 7 |
| 8 #include <gestures/gestures.h> | 8 #include <gestures/gestures.h> |
| 9 #include <libevdev/libevdev.h> | 9 #include <libevdev/libevdev.h> |
| 10 | 10 |
| 11 #include <bitset> | 11 #include <bitset> |
| 12 #include <memory> | 12 #include <memory> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 16 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
| 17 #include "ui/events/ozone/evdev/event_device_util.h" | 17 #include "ui/events/ozone/evdev/event_device_util.h" |
| 18 #include "ui/events/ozone/evdev/event_dispatch_callback.h" | 18 #include "ui/events/ozone/evdev/event_dispatch_callback.h" |
| 19 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" | 19 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
| 20 #include "ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.h" | 20 #include "ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.h" |
| 21 | 21 |
| 22 namespace ui { | 22 namespace ui { |
| 23 | 23 |
| 24 class DeviceEventDispatcherEvdev; | 24 class DeviceEventDispatcherEvdev; |
| 25 class EventDeviceInfo; | |
| 26 class CursorDelegateEvdev; | 25 class CursorDelegateEvdev; |
| 27 struct GestureDeviceProperties; | 26 struct GestureDeviceProperties; |
| 28 class GesturePropertyProvider; | 27 class GesturePropertyProvider; |
| 29 | 28 |
| 30 // Convert libevdev-cros events to ui::Events using libgestures. | 29 // Convert libevdev-cros events to ui::Events using libgestures. |
| 31 // | 30 // |
| 32 // This builds a GestureInterpreter for an input device (touchpad or | 31 // This builds a GestureInterpreter for an input device (touchpad or |
| 33 // mouse). | 32 // mouse). |
| 34 // | 33 // |
| 35 // Raw input events must be preprocessed into a form suitable for | 34 // Raw input events must be preprocessed into a form suitable for |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 118 |
| 120 // Gesture lib device properties. | 119 // Gesture lib device properties. |
| 121 std::unique_ptr<GestureDeviceProperties> device_properties_; | 120 std::unique_ptr<GestureDeviceProperties> device_properties_; |
| 122 | 121 |
| 123 DISALLOW_COPY_AND_ASSIGN(GestureInterpreterLibevdevCros); | 122 DISALLOW_COPY_AND_ASSIGN(GestureInterpreterLibevdevCros); |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 } // namspace ui | 125 } // namspace ui |
| 127 | 126 |
| 128 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_C
ROS_H_ | 127 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_INTERPRETER_LIBEVDEV_C
ROS_H_ |
| OLD | NEW |