Index: ui/events/gestures/motion_event_aura.h |
diff --git a/ui/events/gestures/motion_event_aura.h b/ui/events/gestures/motion_event_aura.h |
index 6f94ddbf2e8e4f3c3003ab8d7c8f358c18f2a7a6..72c2e6d0b0a31f9c314af8494da5dada1b97d0a7 100644 |
--- a/ui/events/gestures/motion_event_aura.h |
+++ b/ui/events/gestures/motion_event_aura.h |
@@ -34,6 +34,8 @@ class EVENTS_EXPORT MotionEventAura : public MotionEvent { |
virtual float GetRawX(size_t pointer_index) const OVERRIDE; |
virtual float GetRawY(size_t pointer_index) const OVERRIDE; |
virtual float GetTouchMajor(size_t pointer_index) const OVERRIDE; |
+ virtual float GetTouchMinor(size_t pointer_index) const OVERRIDE; |
+ virtual float GetOrientation(size_t pointer_index) const OVERRIDE; |
virtual float GetPressure(size_t pointer_index) const OVERRIDE; |
virtual ToolType GetToolType(size_t pointer_index) const OVERRIDE; |
virtual int GetButtonState() const OVERRIDE; |
@@ -61,7 +63,11 @@ class EVENTS_EXPORT MotionEventAura : public MotionEvent { |
int touch_id; |
float pressure; |
int source_device_id; |
+ // TODO(mustaq): Switch radii to diameters below, to be |
+ // consistent with relevant event params. |
float major_radius; |
jdduke (slow)
2014/08/29 16:45:09
Any reason not to do this TODO now?
mustaq
2014/08/29 20:54:01
Done. Wanted to investigate later if this private
|
+ float minor_radius; |
+ float orientation; |
}; |
MotionEventAura( |