Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: ui/events/gesture_detection/mock_motion_event.h

Issue 306483003: Prepare for Unified Gesture Recognizer landing in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable UGR. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3cff718d2f6baf05739ae5daf5034df5dac7d479..ddcc70c79f87d9ebd4a524c37bd814742409a342 100644
--- a/ui/events/gesture_detection/mock_motion_event.h
+++ b/ui/events/gesture_detection/mock_motion_event.h
@@ -12,7 +12,7 @@
namespace ui {
struct MockMotionEvent : public MotionEvent {
- enum { MAX_POINTERS = 3 };
+ enum { MAX_POINTERS = 4 };
enum { TOUCH_MAJOR = 10 };
MockMotionEvent();
@@ -34,6 +34,16 @@ struct MockMotionEvent : public MotionEvent {
float y2);
MockMotionEvent(Action action,
base::TimeTicks time,
+ float x0,
jdduke (slow) 2014/05/28 16:26:00 See note from gesture_provider_unittest.cc, I'm no
tdresser 2014/05/29 14:26:21 Removed...
+ float y0,
+ float x1,
+ float y1,
+ float x2,
+ float y2,
+ float x3,
+ float y3);
+ MockMotionEvent(Action action,
+ base::TimeTicks time,
const std::vector<gfx::PointF>& positions);
MockMotionEvent(const MockMotionEvent& other);
virtual ~MockMotionEvent();

Powered by Google App Engine
This is Rietveld 408576698