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

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

Issue 1035513002: ozone: evdev: Remove native size member from TouchEventConverterEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/touch_event_converter_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_TOUCH_EVENT_CONVERTER_EVDEV_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_ 6 #define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 int pressure_max_; // Used to normalize pressure values. 82 int pressure_max_; // Used to normalize pressure values.
83 83
84 // Input range for x-axis. 84 // Input range for x-axis.
85 float x_min_tuxels_; 85 float x_min_tuxels_;
86 float x_num_tuxels_; 86 float x_num_tuxels_;
87 87
88 // Input range for y-axis. 88 // Input range for y-axis.
89 float y_min_tuxels_; 89 float y_min_tuxels_;
90 float y_num_tuxels_; 90 float y_num_tuxels_;
91 91
92 // Size of the touchscreen as reported by the driver.
93 gfx::Size native_size_;
94
95 // Number of touch points reported by driver 92 // Number of touch points reported by driver
96 int touch_points_; 93 int touch_points_;
97 94
98 // Touch point currently being updated from the /dev/input/event* stream. 95 // Touch point currently being updated from the /dev/input/event* stream.
99 size_t current_slot_; 96 size_t current_slot_;
100 97
101 // In-progress touch points. 98 // In-progress touch points.
102 std::vector<InProgressEvents> events_; 99 std::vector<InProgressEvents> events_;
103 100
104 DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev); 101 DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev);
105 }; 102 };
106 103
107 } // namespace ui 104 } // namespace ui
108 105
109 #endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_ 106 #endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
OLDNEW
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698