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

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

Issue 349463002: [Android] Map raw touch coordinates to global gesture locations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 1eb948328384477e414ee08af34b21100ae97e85..c5e09dc5ee616155b830977e477a938cb1c6a7fe 100644
--- a/ui/events/gesture_detection/gesture_event_data.h
+++ b/ui/events/gesture_detection/gesture_event_data.h
@@ -20,16 +20,11 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
base::TimeTicks time,
float x,
float y,
+ float raw_x,
+ float raw_y,
int touch_point_count,
const gfx::RectF& bounding_box);
-
- GestureEventData(EventType type,
- int motion_event_id,
- base::TimeTicks time,
- float x,
- float y,
- int touch_point_count,
- const gfx::RectF& bounding_box);
+ GestureEventData(EventType type, const GestureEventData&);
EventType type() const { return details.type(); }
@@ -38,6 +33,8 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
base::TimeTicks time;
float x;
float y;
+ float raw_x;
+ float raw_y;
private:
friend class GestureEventDataPacket;

Powered by Google App Engine
This is Rietveld 408576698