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

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: rebase Created 5 years, 10 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
« no previous file with comments | « no previous file | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Mouse button map. 102 // Mouse button map.
103 MouseButtonMapEvdev button_map_; 103 MouseButtonMapEvdev button_map_;
104 104
105 // Keyboard state. 105 // Keyboard state.
106 KeyboardEvdev keyboard_; 106 KeyboardEvdev keyboard_;
107 107
108 // Cursor movement. 108 // Cursor movement.
109 CursorDelegateEvdev* cursor_; 109 CursorDelegateEvdev* cursor_;
110 110
111 #if defined(USE_EVDEV_GESTURES)
112 // Gesture library property provider (used by touchpads/mice).
113 scoped_ptr<GesturePropertyProvider> gesture_property_provider_;
114 #endif
115
116 // Object for controlling input devices. 111 // Object for controlling input devices.
117 InputControllerEvdev input_controller_; 112 InputControllerEvdev input_controller_;
118 113
119 // Whether we've set up the device factory & done initial scan. 114 // Whether we've set up the device factory & done initial scan.
120 bool initialized_; 115 bool initialized_;
121 116
122 // Support weak pointers for attach & detach callbacks. 117 // Support weak pointers for attach & detach callbacks.
123 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_; 118 base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_;
124 119
125 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); 120 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev);
126 }; 121 };
127 122
128 } // namespace ui 123 } // namespace ui
129 124
130 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_ 125 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698