OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h" | 5 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 KeyEventParams::KeyEventParams(int device_id, | 9 KeyEventParams::KeyEventParams(int device_id, |
10 unsigned int code, | 10 unsigned int code, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 timestamp(timestamp) { | 82 timestamp(timestamp) { |
83 } | 83 } |
84 | 84 |
85 ScrollEventParams::ScrollEventParams(const ScrollEventParams& other) = default; | 85 ScrollEventParams::ScrollEventParams(const ScrollEventParams& other) = default; |
86 | 86 |
87 ScrollEventParams::~ScrollEventParams() { | 87 ScrollEventParams::~ScrollEventParams() { |
88 } | 88 } |
89 | 89 |
90 TouchEventParams::TouchEventParams(int device_id, | 90 TouchEventParams::TouchEventParams(int device_id, |
91 int touch_id, | 91 int touch_id, |
| 92 int tracking_id, |
92 EventType type, | 93 EventType type, |
93 const gfx::PointF& location, | 94 const gfx::PointF& location, |
94 const gfx::Vector2dF& radii, | 95 const gfx::Vector2dF& radii, |
95 float pressure, | 96 float pressure, |
96 const base::TimeDelta& timestamp) | 97 const base::TimeDelta& timestamp) |
97 : device_id(device_id), | 98 : device_id(device_id), |
98 touch_id(touch_id), | 99 touch_id(touch_id), |
| 100 tracking_id(tracking_id), |
99 type(type), | 101 type(type), |
100 location(location), | 102 location(location), |
101 radii(radii), | 103 radii(radii), |
102 pressure(pressure), | 104 pressure(pressure), |
103 timestamp(timestamp) { | 105 timestamp(timestamp) { |
104 } | 106 } |
105 | 107 |
106 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; | 108 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; |
107 | 109 |
108 TouchEventParams::~TouchEventParams() { | 110 TouchEventParams::~TouchEventParams() { |
109 } | 111 } |
110 | 112 |
111 } // namspace ui | 113 } // namspace ui |
OLD | NEW |