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

Side by Side Diff: ui/events/devices/x11/touch_factory_x11.h

Issue 1186833005: Fix touch screen on Linux with or without flag --touch-devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comment Created 5 years, 6 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/devices/x11/touch_factory_x11.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVICES_X11_TOUCH_FACTORY_X11_H_ 5 #ifndef UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_
6 #define UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_ 6 #define UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 std::map<int, bool> touch_device_list_; 127 std::map<int, bool> touch_device_list_;
128 128
129 // Touch screen <vid, pid>s. 129 // Touch screen <vid, pid>s.
130 std::set<std::pair<int, int> > touchscreen_ids_; 130 std::set<std::pair<int, int> > touchscreen_ids_;
131 131
132 // Device ID of the virtual core keyboard. 132 // Device ID of the virtual core keyboard.
133 int virtual_core_keyboard_device_; 133 int virtual_core_keyboard_device_;
134 134
135 SequentialIDGenerator id_generator_; 135 SequentialIDGenerator id_generator_;
136 136
137 // Associate each device ID with its master device ID.
138 std::map<int, int> device_master_id_list_;
139
137 DISALLOW_COPY_AND_ASSIGN(TouchFactory); 140 DISALLOW_COPY_AND_ASSIGN(TouchFactory);
138 }; 141 };
139 142
140 } // namespace ui 143 } // namespace ui
141 144
142 #endif // UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_ 145 #endif // UI_EVENTS_DEVICES_X11_TOUCH_FACTORY_X11_H_
OLDNEW
« no previous file with comments | « no previous file | ui/events/devices/x11/touch_factory_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698