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 9793494e28e3c532daea57d46646fea732f7c256..29e9a91f593d16086bd74aa7021dbe95334badf2 100644 |
--- a/ui/events/gesture_detection/mock_motion_event.h |
+++ b/ui/events/gesture_detection/mock_motion_event.h |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "base/time/time.h" |
#include "ui/events/gesture_detection/motion_event.h" |
@@ -21,6 +23,17 @@ struct MockMotionEvent : public MotionEvent { |
float y0, |
float x1, |
float y1); |
+ MockMotionEvent(Action action, |
+ base::TimeTicks time, |
+ float x0, |
+ float y0, |
+ float x1, |
+ float y1, |
+ float x2, |
+ float y2); |
+ MockMotionEvent(Action action, |
+ base::TimeTicks time, |
+ const std::vector<gfx::PointF>& positions); |
MockMotionEvent(const MockMotionEvent& other); |
virtual ~MockMotionEvent(); |