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

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

Issue 567783002: Add modifier flags to MotionEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove MotionEvent modifiers Created 6 years, 3 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/gesture_event_data.h
diff --git a/ui/events/gesture_detection/gesture_event_data.h b/ui/events/gesture_detection/gesture_event_data.h
index d69c6e0922169d137ce6781cc7b3871e7501ad02..8727c6d8fb8c00d68f83fd9eb5772e0164e15798 100644
--- a/ui/events/gesture_detection/gesture_event_data.h
+++ b/ui/events/gesture_detection/gesture_event_data.h
@@ -25,7 +25,8 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
float raw_x,
float raw_y,
size_t touch_point_count,
- const gfx::RectF& bounding_box);
+ const gfx::RectF& bounding_box,
+ int flags);
GestureEventData(EventType type, const GestureEventData&);
EventType type() const { return details.type(); }
@@ -38,6 +39,7 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
float y;
float raw_x;
float raw_y;
+ int flags;
private:
friend class GestureEventDataPacket;

Powered by Google App Engine
This is Rietveld 408576698