| 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, |
| 11 bool down, | 11 bool down, |
| 12 bool suppress_auto_repeat, | 12 bool suppress_auto_repeat, |
| 13 base::TimeTicks timestamp) | 13 base::TimeTicks timestamp) |
| 14 : device_id(device_id), | 14 : device_id(device_id), |
| 15 code(code), | 15 code(code), |
| 16 down(down), | 16 down(down), |
| 17 suppress_auto_repeat(suppress_auto_repeat), | 17 suppress_auto_repeat(suppress_auto_repeat), |
| 18 timestamp(timestamp) { | 18 timestamp(timestamp) { |
| 19 } | 19 } |
| 20 | 20 |
| 21 KeyEventParams::KeyEventParams(const KeyEventParams& other) = default; | 21 KeyEventParams::KeyEventParams(const KeyEventParams& other) = default; |
| 22 | 22 |
| 23 KeyEventParams::~KeyEventParams() { | 23 KeyEventParams::~KeyEventParams() { |
| 24 } | 24 } |
| 25 | 25 |
| 26 MouseMoveEventParams::MouseMoveEventParams(int device_id, | 26 MouseMoveEventParams::MouseMoveEventParams(int device_id, |
| 27 int flags, |
| 27 const gfx::PointF& location, | 28 const gfx::PointF& location, |
| 28 const PointerDetails& details, | 29 const PointerDetails& details, |
| 29 base::TimeTicks timestamp) | 30 base::TimeTicks timestamp) |
| 30 : device_id(device_id), | 31 : device_id(device_id), |
| 32 flags(flags), |
| 31 location(location), | 33 location(location), |
| 32 pointer_details(details), | 34 pointer_details(details), |
| 33 timestamp(timestamp) {} | 35 timestamp(timestamp) {} |
| 34 | 36 |
| 35 MouseMoveEventParams::MouseMoveEventParams(const MouseMoveEventParams& other) = | 37 MouseMoveEventParams::MouseMoveEventParams(const MouseMoveEventParams& other) = |
| 36 default; | 38 default; |
| 37 | 39 |
| 38 MouseMoveEventParams::~MouseMoveEventParams() { | 40 MouseMoveEventParams::~MouseMoveEventParams() { |
| 39 } | 41 } |
| 40 | 42 |
| 41 MouseButtonEventParams::MouseButtonEventParams(int device_id, | 43 MouseButtonEventParams::MouseButtonEventParams(int device_id, |
| 44 int flags, |
| 42 const gfx::PointF& location, | 45 const gfx::PointF& location, |
| 43 unsigned int button, | 46 unsigned int button, |
| 44 bool down, | 47 bool down, |
| 45 bool allow_remap, | 48 bool allow_remap, |
| 46 const PointerDetails& details, | 49 const PointerDetails& details, |
| 47 base::TimeTicks timestamp) | 50 base::TimeTicks timestamp) |
| 48 : device_id(device_id), | 51 : device_id(device_id), |
| 52 flags(flags), |
| 49 location(location), | 53 location(location), |
| 50 button(button), | 54 button(button), |
| 51 down(down), | 55 down(down), |
| 52 allow_remap(allow_remap), | 56 allow_remap(allow_remap), |
| 53 pointer_details(details), | 57 pointer_details(details), |
| 54 timestamp(timestamp) {} | 58 timestamp(timestamp) {} |
| 55 | 59 |
| 56 MouseButtonEventParams::MouseButtonEventParams( | 60 MouseButtonEventParams::MouseButtonEventParams( |
| 57 const MouseButtonEventParams& other) = default; | 61 const MouseButtonEventParams& other) = default; |
| 58 | 62 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 location(location), | 128 location(location), |
| 125 pointer_details(details), | 129 pointer_details(details), |
| 126 timestamp(timestamp) {} | 130 timestamp(timestamp) {} |
| 127 | 131 |
| 128 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; | 132 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; |
| 129 | 133 |
| 130 TouchEventParams::~TouchEventParams() { | 134 TouchEventParams::~TouchEventParams() { |
| 131 } | 135 } |
| 132 | 136 |
| 133 } // namspace ui | 137 } // namspace ui |
| OLD | NEW |