| 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 899aeea1c2ae7b8530cfbb1af15e57824bb2b29d..3cf4235b78a37815d1b800fd86aa50b4960d694f 100644
|
| --- a/ui/events/gesture_detection/motion_event.h
|
| +++ b/ui/events/gesture_detection/motion_event.h
|
| @@ -62,6 +62,8 @@ class GESTURE_DETECTION_EXPORT MotionEvent {
|
| float GetY() const { return GetY(0); }
|
| float GetRawX() const { return GetRawX(0); }
|
| float GetRawY() const { return GetRawY(0); }
|
| + float GetRawOffsetX() const { return GetRawX() - GetX(); }
|
| + float GetRawOffsetY() const { return GetRawY() - GetY(); }
|
| float GetTouchMajor() const { return GetTouchMajor(0); }
|
| float GetPressure() const { return GetPressure(0); }
|
| };
|
|
|