| Index: ui/events/gesture_detection/mock_motion_event.cc
|
| diff --git a/ui/events/gesture_detection/mock_motion_event.cc b/ui/events/gesture_detection/mock_motion_event.cc
|
| index cf293874ba9611acca4c66602aa0dfa1e5be1227..edb7be0884792cb1ffde3259201ba25b4b17ec07 100644
|
| --- a/ui/events/gesture_detection/mock_motion_event.cc
|
| +++ b/ui/events/gesture_detection/mock_motion_event.cc
|
| @@ -38,6 +38,20 @@ MockMotionEvent::MockMotionEvent(Action action,
|
| points[1].SetPoint(x1, y1);
|
| }
|
|
|
| +MockMotionEvent::MockMotionEvent(Action action,
|
| + TimeTicks time,
|
| + float x0,
|
| + float y0,
|
| + float x1,
|
| + float y1,
|
| + float x2,
|
| + float y2)
|
| + : action(action), pointer_count(3), time(time), id(0) {
|
| + points[0].SetPoint(x0, y0);
|
| + points[1].SetPoint(x1, y1);
|
| + points[2].SetPoint(x2, y2);
|
| +}
|
| +
|
| MockMotionEvent::MockMotionEvent(const MockMotionEvent& other)
|
| : action(other.action),
|
| pointer_count(other.pointer_count),
|
|
|