OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/events/ozone/evdev/event_dispatch_callback.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 TouchEventParams::TouchEventParams(int device_id, |
| 10 int touch_id, |
| 11 EventType type, |
| 12 const gfx::PointF& location, |
| 13 const gfx::Vector2dF& radii, |
| 14 float pressure, |
| 15 const base::TimeDelta& timestamp) |
| 16 : device_id(device_id), |
| 17 touch_id(touch_id), |
| 18 type(type), |
| 19 location(location), |
| 20 radii(radii), |
| 21 pressure(pressure), |
| 22 timestamp(timestamp) { |
| 23 } |
| 24 |
| 25 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; |
| 26 |
| 27 TouchEventParams::~TouchEventParams() { |
| 28 } |
| 29 |
| 30 } // namspace ui |
OLD | NEW |