Index: ui/events/event_utils.h |
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
index f1f5f34d2754a3567268a7a8580abdfd2246431a..667621276db6c75102221460a6e2e9bb5e13486d 100644 |
--- a/ui/events/event_utils.h |
+++ b/ui/events/event_utils.h |
@@ -133,6 +133,10 @@ EVENTS_EXPORT float GetTouchRadiusY(const base::NativeEvent& native_event); |
// Gets the angle of the major axis away from the X axis. Default is 0.0. |
EVENTS_EXPORT float GetTouchAngle(const base::NativeEvent& native_event); |
+// Gets the tilt angle of the stylus away from the perpendicular to the screen |
+// Default is 0.0. |
+EVENTS_EXPORT float GetTouchTilt(const base::NativeEvent& native_event); |
+ |
// Gets the force from a native_event. Normalized to be [0, 1]. Default is 0.0. |
EVENTS_EXPORT float GetTouchForce(const base::NativeEvent& native_event); |