| Index: ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| index 909465f7a6fdc2dfa8e8949aed88aac51da64c11..c70234be2d3014886870671db9b0123bfcc8ccaa 100644
|
| --- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| +++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| @@ -24,7 +24,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams {
|
| unsigned int code,
|
| bool down,
|
| bool suppress_auto_repeat,
|
| - base::TimeDelta timestamp);
|
| + base::TimeTicks timestamp);
|
| KeyEventParams(const KeyEventParams& other);
|
| ~KeyEventParams();
|
|
|
| @@ -32,21 +32,21 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams {
|
| unsigned int code;
|
| bool down;
|
| bool suppress_auto_repeat;
|
| - base::TimeDelta timestamp;
|
| + base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT MouseMoveEventParams {
|
| MouseMoveEventParams(int device_id,
|
| const gfx::PointF& location,
|
| const PointerDetails& details,
|
| - base::TimeDelta timestamp);
|
| + base::TimeTicks timestamp);
|
| MouseMoveEventParams(const MouseMoveEventParams& other);
|
| ~MouseMoveEventParams();
|
|
|
| int device_id;
|
| gfx::PointF location;
|
| PointerDetails pointer_details;
|
| - base::TimeDelta timestamp;
|
| + base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
|
| @@ -56,7 +56,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
|
| bool down,
|
| bool allow_remap,
|
| const PointerDetails& details,
|
| - base::TimeDelta timestamp);
|
| + base::TimeTicks timestamp);
|
| MouseButtonEventParams(const MouseButtonEventParams& other);
|
| ~MouseButtonEventParams();
|
|
|
| @@ -66,21 +66,21 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
|
| bool down;
|
| bool allow_remap;
|
| PointerDetails pointer_details;
|
| - base::TimeDelta timestamp;
|
| + base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT MouseWheelEventParams {
|
| MouseWheelEventParams(int device_id,
|
| const gfx::PointF& location,
|
| const gfx::Vector2d& delta,
|
| - base::TimeDelta timestamp);
|
| + base::TimeTicks timestamp);
|
| MouseWheelEventParams(const MouseWheelEventParams& other);
|
| ~MouseWheelEventParams();
|
|
|
| int device_id;
|
| gfx::PointF location;
|
| gfx::Vector2d delta;
|
| - base::TimeDelta timestamp;
|
| + base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT PinchEventParams {
|
| @@ -88,7 +88,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT PinchEventParams {
|
| EventType type,
|
| const gfx::PointF location,
|
| float scale,
|
| - const base::TimeDelta timestamp);
|
| + const base::TimeTicks timestamp);
|
| PinchEventParams(const PinchEventParams& other);
|
| ~PinchEventParams();
|
|
|
| @@ -96,7 +96,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT PinchEventParams {
|
| EventType type;
|
| const gfx::PointF location;
|
| float scale;
|
| - const base::TimeDelta timestamp;
|
| + const base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT ScrollEventParams {
|
| @@ -106,7 +106,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT ScrollEventParams {
|
| const gfx::Vector2dF& delta,
|
| const gfx::Vector2dF& ordinal_delta,
|
| int finger_count,
|
| - const base::TimeDelta timestamp);
|
| + const base::TimeTicks timestamp);
|
| ScrollEventParams(const ScrollEventParams& other);
|
| ~ScrollEventParams();
|
|
|
| @@ -116,7 +116,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT ScrollEventParams {
|
| const gfx::Vector2dF delta;
|
| const gfx::Vector2dF ordinal_delta;
|
| int finger_count;
|
| - const base::TimeDelta timestamp;
|
| + const base::TimeTicks timestamp;
|
| };
|
|
|
| struct EVENTS_OZONE_EVDEV_EXPORT TouchEventParams {
|
| @@ -125,7 +125,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT TouchEventParams {
|
| EventType type,
|
| const gfx::PointF& location,
|
| const PointerDetails& pointer_details,
|
| - const base::TimeDelta& timestamp);
|
| + const base::TimeTicks& timestamp);
|
| TouchEventParams(const TouchEventParams& other);
|
| ~TouchEventParams();
|
|
|
| @@ -134,7 +134,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT TouchEventParams {
|
| EventType type;
|
| gfx::PointF location;
|
| PointerDetails pointer_details;
|
| - base::TimeDelta timestamp;
|
| + base::TimeTicks timestamp;
|
| };
|
|
|
| // Interface used by device objects for event dispatch.
|
|
|