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

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

Issue 869613003: [PATCH 5/11] ozone: evdev: Replace dispatch callbacks with an interface (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
1 // Copyright 2014 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/event_dispatch_callback.h" 5 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 ScrollEventParams::ScrollEventParams(int device_id, 9 ScrollEventParams::ScrollEventParams(int device_id,
10 EventType type, 10 EventType type,
11 const gfx::PointF location, 11 const gfx::PointF location,
12 const gfx::Vector2dF delta, 12 const gfx::Vector2dF delta,
13 const gfx::Vector2dF ordinal_delta, 13 const gfx::Vector2dF ordinal_delta,
14 int finger_count, 14 int finger_count,
15 const base::TimeDelta timestamp) 15 const base::TimeDelta timestamp)
(...skipping 26 matching lines...) Expand all
42 pressure(pressure), 42 pressure(pressure),
43 timestamp(timestamp) { 43 timestamp(timestamp) {
44 } 44 }
45 45
46 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; 46 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default;
47 47
48 TouchEventParams::~TouchEventParams() { 48 TouchEventParams::~TouchEventParams() {
49 } 49 }
50 50
51 } // namspace ui 51 } // namspace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698