Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: ui/events/ozone/evdev/event_dispatch_callback.cc

Issue 874713002: [PATCH 1/11] ozone: evdev: Move touch ui::Event transformation to EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates for events_unittests Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698