| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 type(type), | 127 type(type), |
| 128 location(location), | 128 location(location), |
| 129 pointer_details(details), | 129 pointer_details(details), |
| 130 timestamp(timestamp) {} | 130 timestamp(timestamp) {} |
| 131 | 131 |
| 132 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; | 132 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; |
| 133 | 133 |
| 134 TouchEventParams::~TouchEventParams() { | 134 TouchEventParams::~TouchEventParams() { |
| 135 } | 135 } |
| 136 | 136 |
| 137 GamepadEventParams::GamepadEventParams(int device_id, |
| 138 EventType type, |
| 139 double value, |
| 140 uint16_t code, |
| 141 const base::TimeTicks timestamp) |
| 142 : device_id(device_id), |
| 143 type(type), |
| 144 value(value), |
| 145 code(code), |
| 146 timestamp(timestamp) {} |
| 147 |
| 137 } // namspace ui | 148 } // namspace ui |
| OLD | NEW |