Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/input_injector_evdev.h ('k') | ui/events/ozone/evdev/touch_event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698