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

Unified Diff: ui/events/ozone/evdev/event_dispatch_callback.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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 181e37e5e8f68df9e6c329bc0a19210d94aa2efd..0000000000000000000000000000000000000000
--- a/ui/events/ozone/evdev/event_dispatch_callback.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-// 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 {
-
-ScrollEventParams::ScrollEventParams(int device_id,
- EventType type,
- const gfx::PointF location,
- const gfx::Vector2dF delta,
- const gfx::Vector2dF ordinal_delta,
- int finger_count,
- const base::TimeDelta timestamp)
- : device_id(device_id),
- type(type),
- location(location),
- delta(delta),
- ordinal_delta(ordinal_delta),
- finger_count(finger_count),
- timestamp(timestamp) {
-}
-
-ScrollEventParams::ScrollEventParams(const ScrollEventParams& other) = default;
-
-ScrollEventParams::~ScrollEventParams() {
-}
-
-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

Powered by Google App Engine
This is Rietveld 408576698