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

Unified Diff: ui/events/gesture_detection/motion_event_generic.cc

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/motion_event_generic.cc
diff --git a/ui/events/gesture_detection/motion_event_generic.cc b/ui/events/gesture_detection/motion_event_generic.cc
index 475e9c5bc808eb3d40f042fd5a8aff751a4858c5..7fb0994f8b8c5084cc831fcded190266e01be5bf 100644
--- a/ui/events/gesture_detection/motion_event_generic.cc
+++ b/ui/events/gesture_detection/motion_event_generic.cc
@@ -73,6 +73,10 @@ int MotionEventGeneric::GetId() const {
return id_;
}
+uint64 MotionEventGeneric::GetUniqueId() const {
+ return unique_id_;
+}
+
MotionEvent::Action MotionEventGeneric::GetAction() const {
return action_;
}

Powered by Google App Engine
This is Rietveld 408576698