Index: ui/events/gesture_detection/motion_event.h |
diff --git a/ui/events/gesture_detection/motion_event.h b/ui/events/gesture_detection/motion_event.h |
index 12834a793f2db1e51e2af8a621fb98c139bdb32c..a7db1787c40ced4451c2492ac641031a23576d04 100644 |
--- a/ui/events/gesture_detection/motion_event.h |
+++ b/ui/events/gesture_detection/motion_event.h |
@@ -62,6 +62,7 @@ class GESTURE_DETECTION_EXPORT MotionEvent { |
virtual float GetTouchMinor(size_t pointer_index) const = 0; |
virtual float GetOrientation(size_t pointer_index) const = 0; |
virtual float GetPressure(size_t pointer_index) const = 0; |
+ virtual float GetTilt(size_t pointer_index) const = 0; |
virtual ToolType GetToolType(size_t pointer_index) const = 0; |
virtual int GetButtonState() const = 0; |
virtual int GetFlags() const = 0; |
@@ -100,6 +101,7 @@ class GESTURE_DETECTION_EXPORT MotionEvent { |
float GetOrientation() const { return GetOrientation(0); } |
float GetPressure() const { return GetPressure(0); } |
+ float GetTilt() const { return GetTilt(0); } |
ToolType GetToolType() const { return GetToolType(0); } |
// O(N) search of pointers (use sparingly!). Returns -1 if |id| nonexistent. |