Chromium Code Reviews| Index: ui/events/gesture_detection/mock_motion_event.h |
| diff --git a/ui/events/gesture_detection/mock_motion_event.h b/ui/events/gesture_detection/mock_motion_event.h |
| index f52b849a6b5dbccd3a0c0712d5782bb0054dfd34..4b8dd6cf787f3a5c6090734b71dabf21a180da19 100644 |
| --- a/ui/events/gesture_detection/mock_motion_event.h |
| +++ b/ui/events/gesture_detection/mock_motion_event.h |
| @@ -28,6 +28,8 @@ struct MockMotionEvent : public MotionEvent { |
| virtual Action GetAction() const OVERRIDE; |
| virtual int GetActionIndex() const OVERRIDE; |
| virtual size_t GetPointerCount() const OVERRIDE; |
| + virtual int GetId() const OVERRIDE; |
| + void SetId(int new_id); |
|
jdduke (slow)
2014/04/02 18:33:12
Nit: Please move |SetId()| down by the other utili
tdresser
2014/04/03 14:01:23
Done.
|
| virtual int GetPointerId(size_t pointer_index) const OVERRIDE; |
| virtual float GetX(size_t pointer_index) const OVERRIDE; |
| virtual float GetY(size_t pointer_index) const OVERRIDE; |
| @@ -56,6 +58,7 @@ struct MockMotionEvent : public MotionEvent { |
| MotionEvent::Action action; |
| size_t pointer_count; |
| gfx::PointF points[MAX_POINTERS]; |
| + int id; |
| base::TimeTicks time; |
| }; |