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 d70fcbb1a88c726c0d70025c0303a686f4431973..4426be43e13e535cb9bb0006e4af6935ef3d0cb9 100644 |
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h |
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h |
@@ -38,12 +38,20 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams { |
struct EVENTS_OZONE_EVDEV_EXPORT MouseMoveEventParams { |
MouseMoveEventParams(int device_id, |
const gfx::PointF& location, |
+ EventPointerType pointer_type, |
+ float force, |
+ float tilt_x, |
+ float tilt_y, |
base::TimeDelta timestamp); |
MouseMoveEventParams(const MouseMoveEventParams& other); |
~MouseMoveEventParams(); |
int device_id; |
gfx::PointF location; |
+ EventPointerType pointer_type; |
+ float force; |
+ float tilt_x; |
+ float tilt_y; |
sadrul
2015/08/20 06:25:50
Is there a reason to not use PointerDetails for th
robert.bradford
2015/08/20 11:12:28
That's a great suggestion and i've implemented it.
|
base::TimeDelta timestamp; |
}; |
@@ -53,6 +61,10 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams { |
unsigned int button, |
bool down, |
bool allow_remap, |
+ EventPointerType pointer_type, |
+ float force, |
+ float tilt_x, |
+ float tilt_y, |
base::TimeDelta timestamp); |
MouseButtonEventParams(const MouseButtonEventParams& other); |
~MouseButtonEventParams(); |
@@ -62,6 +74,10 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams { |
unsigned int button; |
bool down; |
bool allow_remap; |
+ EventPointerType pointer_type; |
+ float force; |
+ float tilt_x; |
+ float tilt_y; |
base::TimeDelta timestamp; |
}; |