| Index: ui/events/gesture_detection/motion_event.cc
|
| diff --git a/ui/events/gesture_detection/motion_event.cc b/ui/events/gesture_detection/motion_event.cc
|
| index d3646cc4f9bd0a00698bd75b0382792af376184a..19404cdca72360cbc5dd9d93d8e240dd546c5a95 100644
|
| --- a/ui/events/gesture_detection/motion_event.cc
|
| +++ b/ui/events/gesture_detection/motion_event.cc
|
| @@ -24,6 +24,18 @@ float MotionEvent::GetHistoricalTouchMajor(size_t pointer_index,
|
| return 0.f;
|
| }
|
|
|
| +float MotionEvent::GetHistoricalTouchMinor(size_t pointer_index,
|
| + size_t historical_index) const {
|
| + NOTIMPLEMENTED();
|
| + return 0.f;
|
| +}
|
| +
|
| +float MotionEvent::GetHistoricalOrientation(size_t pointer_index,
|
| + size_t historical_index) const {
|
| + NOTIMPLEMENTED();
|
| + return 0.f;
|
| +}
|
| +
|
| float MotionEvent::GetHistoricalX(size_t pointer_index,
|
| size_t historical_index) const {
|
| NOTIMPLEMENTED();
|
| @@ -63,6 +75,8 @@ bool operator==(const MotionEvent& lhs, const MotionEvent& rhs) {
|
| lhs.GetRawX(i) != rhs.GetRawX(rhsi) ||
|
| lhs.GetRawY(i) != rhs.GetRawY(rhsi) ||
|
| lhs.GetTouchMajor(i) != rhs.GetTouchMajor(rhsi) ||
|
| + lhs.GetTouchMinor(i) != rhs.GetTouchMinor(rhsi) ||
|
| + lhs.GetOrientation(i) != rhs.GetOrientation(rhsi) ||
|
| lhs.GetPressure(i) != rhs.GetPressure(rhsi) ||
|
| lhs.GetToolType(i) != rhs.GetToolType(rhsi))
|
| return false;
|
| @@ -71,7 +85,11 @@ bool operator==(const MotionEvent& lhs, const MotionEvent& rhs) {
|
| if (lhs.GetHistoricalX(i, h) != rhs.GetHistoricalX(rhsi, h) ||
|
| lhs.GetHistoricalY(i, h) != rhs.GetHistoricalY(rhsi, h) ||
|
| lhs.GetHistoricalTouchMajor(i, h) !=
|
| - rhs.GetHistoricalTouchMajor(rhsi, h))
|
| + rhs.GetHistoricalTouchMajor(rhsi, h) ||
|
| + lhs.GetHistoricalTouchMinor(i, h) !=
|
| + rhs.GetHistoricalTouchMinor(rhsi, h) ||
|
| + lhs.GetHistoricalOrientation(i, h) !=
|
| + rhs.GetHistoricalOrientation(rhsi, h))
|
| return false;
|
| }
|
| }
|
|
|