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

Side by Side Diff: ui/events/ozone/evdev/event_factory_evdev.h

Issue 868213002: [PATCH 7/11] ozone: evdev: Move GesturePropertyProvider to InputDeviceFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates for events_unittests Created 5 years, 11 months 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_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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // Mouse button map. 109 // Mouse button map.
110 MouseButtonMapEvdev button_map_; 110 MouseButtonMapEvdev button_map_;
111 111
112 // Keyboard state. 112 // Keyboard state.
113 KeyboardEvdev keyboard_; 113 KeyboardEvdev keyboard_;
114 114
115 // Cursor movement. 115 // Cursor movement.
116 CursorDelegateEvdev* cursor_; 116 CursorDelegateEvdev* cursor_;
117 117
118 #if defined(USE_EVDEV_GESTURES)
119 // Gesture library property provider (used by touchpads/mice).
120 scoped_ptr<GesturePropertyProvider> gesture_property_provider_;
121 #endif
122
123 // Object for controlling input devices. 118 // Object for controlling input devices.
124 InputControllerEvdev input_controller_; 119 InputControllerEvdev input_controller_;
125 120
126 // Whether we've set up the device factory & done initial scan. 121 // Whether we've set up the device factory & done initial scan.
127 bool initialized_; 122 bool initialized_;
128 123
129 // Support weak pointers for attach & detach callbacks. 124 // Support weak pointers for attach & detach callbacks.
130 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_; 125 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_;
131 126
132 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); 127 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev);
133 }; 128 };
134 129
135 } // namespace ui 130 } // namespace ui
136 131
137 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ 132 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_
OLDNEW
« no previous file with comments | « no previous file | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | ui/events/ozone/evdev/input_device_factory_evdev.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698