| Index: ui/events/event_utils.h
|
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
|
| index 2a0e699c28f8ccb02a16a6d213e68cc3274f745f..0ff6cc96707e031f9b76330c9ef1678bc7b1cf0e 100644
|
| --- a/ui/events/event_utils.h
|
| +++ b/ui/events/event_utils.h
|
| @@ -132,6 +132,15 @@ 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 NaN.
|
| +EVENTS_EXPORT float GetTouchTilt(const base::NativeEvent& native_event);
|
| +
|
| +// Gets the clockwise angle from the X axis to the XY-projection of the stylus.
|
| +// Range is [-180, 180), default is NaN.
|
| +EVENTS_EXPORT float GetTouchTiltDirection(
|
| + 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);
|
|
|
|
|