| 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 164d9f703513f05144ab40669387bdc27a78b9af..3d5e96c3a5ca6e06b09c94503f894dd8d64c5b0c 100644
|
| --- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| +++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| @@ -25,7 +25,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();
|
|
|
| @@ -33,21 +33,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 {
|
| @@ -57,7 +57,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();
|
|
|
| @@ -67,21 +67,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 {
|
| @@ -89,7 +89,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();
|
|
|
| @@ -97,7 +97,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 {
|
| @@ -107,7 +107,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();
|
|
|
| @@ -117,7 +117,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 {
|
| @@ -126,7 +126,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();
|
|
|
| @@ -135,7 +135,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.
|
|
|