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 a6028fbdee52c3feb6394960f08ae0b563119270..40b7cd3fa2d387cbc9cb99d0312730aae933aad2 100644 |
--- a/ui/events/gesture_detection/motion_event.h |
+++ b/ui/events/gesture_detection/motion_event.h |
@@ -60,7 +60,7 @@ class GESTURE_DETECTION_EXPORT MotionEvent { |
virtual float GetRawY(size_t pointer_index) const = 0; |
virtual float GetTouchMajor(size_t pointer_index) const = 0; |
virtual float GetTouchMinor(size_t pointer_index) const = 0; |
- virtual float GetOrientation(size_t pointer_index) const = 0; |
+ virtual float GetTouchOrientation(size_t pointer_index) const = 0; |
virtual float GetPressure(size_t pointer_index) const = 0; |
virtual ToolType GetToolType(size_t pointer_index) const = 0; |
virtual int GetButtonState() const = 0; |
@@ -92,9 +92,9 @@ class GESTURE_DETECTION_EXPORT MotionEvent { |
float GetTouchMajor() const { return GetTouchMajor(0); } |
float GetTouchMinor() const { return GetTouchMinor(0); } |
- // Returns the orientation of the major axis clockwise from vertical, in |
- // radians. The return value lies in [-PI/2, PI/2]. |
- float GetOrientation() const { return GetOrientation(0); } |
+ // Returns the orientation of the touch major axis clockwise from vertical, |
+ // in radians. The return value lies in [-PI/2, PI/2]. |
+ float GetTouchOrientation() const { return GetTouchOrientation(0); } |
float GetPressure() const { return GetPressure(0); } |
ToolType GetToolType() const { return GetToolType(0); } |