| 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 b66a15e6dfa54ae911562506ff71eb1b9efb9948..10f7b85c1eb3751e68580e3cfcb943d7d38d6f35 100644
|
| --- a/ui/events/gesture_detection/motion_event.h
|
| +++ b/ui/events/gesture_detection/motion_event.h
|
| @@ -29,6 +29,7 @@ class GESTURE_DETECTION_EXPORT MotionEvent {
|
| TOOL_TYPE_FINGER,
|
| TOOL_TYPE_STYLUS,
|
| TOOL_TYPE_MOUSE,
|
| + TOOL_TYPE_ERASER
|
| };
|
|
|
| enum ButtonType {
|
| @@ -83,6 +84,7 @@ class GESTURE_DETECTION_EXPORT MotionEvent {
|
| float GetRawOffsetY() const { return GetRawY() - GetY(); }
|
| float GetTouchMajor() const { return GetTouchMajor(0); }
|
| float GetPressure() const { return GetPressure(0); }
|
| + ToolType GetToolType() const { return GetToolType(0); }
|
|
|
| // O(N) search of pointers (use sparingly!). Returns -1 if |id| nonexistent.
|
| int FindPointerIndexOfId(int id) const;
|
|
|