| Index: ui/events/ozone/evdev/event_dispatch_callback.cc
|
| diff --git a/ui/events/ozone/evdev/event_dispatch_callback.cc b/ui/events/ozone/evdev/event_dispatch_callback.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aa2fcced5124d6f4e78095487e8da58dfac77e0a
|
| --- /dev/null
|
| +++ b/ui/events/ozone/evdev/event_dispatch_callback.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/events/ozone/evdev/event_dispatch_callback.h"
|
| +
|
| +namespace ui {
|
| +
|
| +TouchEventParams::TouchEventParams(int device_id,
|
| + int touch_id,
|
| + EventType type,
|
| + const gfx::PointF& location,
|
| + const gfx::Vector2dF& radii,
|
| + float pressure,
|
| + const base::TimeDelta& timestamp)
|
| + : device_id(device_id),
|
| + touch_id(touch_id),
|
| + type(type),
|
| + location(location),
|
| + radii(radii),
|
| + pressure(pressure),
|
| + timestamp(timestamp) {
|
| +}
|
| +
|
| +TouchEventParams::TouchEventParams(const TouchEventParams& other) = default;
|
| +
|
| +TouchEventParams::~TouchEventParams() {
|
| +}
|
| +
|
| +} // namspace ui
|
|
|