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

Unified Diff: ui/events/ozone/evdev/device_event_dispatcher_evdev.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/device_event_dispatcher_evdev.cc
diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
index 16afecc4a931042710578de3058223f674b137fa..66779eecc00cd3cfa18d202d1691380af4f0831d 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
@@ -10,7 +10,7 @@ KeyEventParams::KeyEventParams(int device_id,
unsigned int code,
bool down,
bool suppress_auto_repeat,
- base::TimeDelta timestamp)
+ base::TimeTicks timestamp)
: device_id(device_id),
code(code),
down(down),
@@ -26,7 +26,7 @@ KeyEventParams::~KeyEventParams() {
MouseMoveEventParams::MouseMoveEventParams(int device_id,
const gfx::PointF& location,
const PointerDetails& details,
- base::TimeDelta timestamp)
+ base::TimeTicks timestamp)
: device_id(device_id),
location(location),
pointer_details(details),
@@ -44,7 +44,7 @@ MouseButtonEventParams::MouseButtonEventParams(int device_id,
bool down,
bool allow_remap,
const PointerDetails& details,
- base::TimeDelta timestamp)
+ base::TimeTicks timestamp)
: device_id(device_id),
location(location),
button(button),
@@ -62,7 +62,7 @@ MouseButtonEventParams::~MouseButtonEventParams() {
MouseWheelEventParams::MouseWheelEventParams(int device_id,
const gfx::PointF& location,
const gfx::Vector2d& delta,
- base::TimeDelta timestamp)
+ base::TimeTicks timestamp)
: device_id(device_id),
location(location),
delta(delta),
@@ -79,7 +79,7 @@ PinchEventParams::PinchEventParams(int device_id,
EventType type,
const gfx::PointF location,
float scale,
- const base::TimeDelta timestamp)
+ const base::TimeTicks timestamp)
: device_id(device_id),
type(type),
location(location),
@@ -97,7 +97,7 @@ ScrollEventParams::ScrollEventParams(int device_id,
const gfx::Vector2dF& delta,
const gfx::Vector2dF& ordinal_delta,
int finger_count,
- const base::TimeDelta timestamp)
+ const base::TimeTicks timestamp)
: device_id(device_id),
type(type),
location(location),
@@ -117,7 +117,7 @@ TouchEventParams::TouchEventParams(int device_id,
EventType type,
const gfx::PointF& location,
const PointerDetails& details,
- const base::TimeDelta& timestamp)
+ const base::TimeTicks& timestamp)
: device_id(device_id),
slot(slot),
type(type),
« no previous file with comments | « ui/events/ozone/evdev/device_event_dispatcher_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698