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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 MouseWheelEventParams::MouseWheelEventParams( | 63 MouseWheelEventParams::MouseWheelEventParams( |
64 const MouseWheelEventParams& other) = default; | 64 const MouseWheelEventParams& other) = default; |
65 | 65 |
66 MouseWheelEventParams::~MouseWheelEventParams() { | 66 MouseWheelEventParams::~MouseWheelEventParams() { |
67 } | 67 } |
68 | 68 |
69 ScrollEventParams::ScrollEventParams(int device_id, | 69 ScrollEventParams::ScrollEventParams(int device_id, |
70 EventType type, | 70 EventType type, |
71 const gfx::PointF location, | 71 const gfx::PointF location, |
72 const gfx::Vector2dF delta, | 72 const gfx::Vector2dF& delta, |
73 const gfx::Vector2dF ordinal_delta, | 73 const gfx::Vector2dF& ordinal_delta, |
74 int finger_count, | 74 int finger_count, |
75 const base::TimeDelta timestamp) | 75 const base::TimeDelta timestamp) |
76 : device_id(device_id), | 76 : device_id(device_id), |
77 type(type), | 77 type(type), |
78 location(location), | 78 location(location), |
79 delta(delta), | 79 delta(delta), |
80 ordinal_delta(ordinal_delta), | 80 ordinal_delta(ordinal_delta), |
81 finger_count(finger_count), | 81 finger_count(finger_count), |
82 timestamp(timestamp) { | 82 timestamp(timestamp) { |
83 } | 83 } |
(...skipping 18 matching lines...) Expand all Loading... |
102 pressure(pressure), | 102 pressure(pressure), |
103 timestamp(timestamp) { | 103 timestamp(timestamp) { |
104 } | 104 } |
105 | 105 |
106 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; | 106 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; |
107 | 107 |
108 TouchEventParams::~TouchEventParams() { | 108 TouchEventParams::~TouchEventParams() { |
109 } | 109 } |
110 | 110 |
111 } // namspace ui | 111 } // namspace ui |
OLD | NEW |