| Index: ui/events/event_utils.h
|
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
|
| index 54081a5cac9b9dc5f2ae5d4c2c4dd4e51d4142e6..4a8e1637eda65eab5a70e4f07ff10ccdd88c2032 100644
|
| --- a/ui/events/event_utils.h
|
| +++ b/ui/events/event_utils.h
|
| @@ -115,6 +115,10 @@ base::NativeEvent CopyNativeEvent(
|
| void ReleaseCopiedNativeEvent(
|
| const base::NativeEvent& native_event);
|
|
|
| +// Returns the detailed pointer information for touch events.
|
| +EVENTS_EXPORT PointerDetails
|
| +GetTouchPointerDetailsFromNative(const base::NativeEvent& native_event);
|
| +
|
| // Gets the touch id from a native event.
|
| EVENTS_EXPORT int GetTouchId(const base::NativeEvent& native_event);
|
|
|
| @@ -122,16 +126,9 @@ EVENTS_EXPORT int GetTouchId(const base::NativeEvent& native_event);
|
| EVENTS_EXPORT void ClearTouchIdIfReleased(
|
| const base::NativeEvent& native_event);
|
|
|
| -// Gets the radius along the X/Y axis from a native event. Default is 1.0.
|
| -EVENTS_EXPORT float GetTouchRadiusX(const base::NativeEvent& native_event);
|
| -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 force from a native_event. Normalized to be [0, 1]. Default is 0.0.
|
| -EVENTS_EXPORT float GetTouchForce(const base::NativeEvent& native_event);
|
| -
|
| // Gets the fling velocity from a native event. is_cancel is set to true if
|
| // this was a tap down, intended to stop an ongoing fling.
|
| EVENTS_EXPORT bool GetFlingData(const base::NativeEvent& native_event,
|
|
|