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

Unified Diff: ui/events/gesture_event_details.h

Issue 302463004: Implementing the dispatch of the swipe gesture for one-finger touch swipes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implementing review feedback. 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_event_details.h
diff --git a/ui/events/gesture_event_details.h b/ui/events/gesture_event_details.h
index 4a4415c5790c22abbcdca981a43132101aa82431..6b36d4bf9d163b822294e7581ced686beb3b54ef 100644
--- a/ui/events/gesture_event_details.h
+++ b/ui/events/gesture_event_details.h
@@ -80,22 +80,22 @@ struct EVENTS_BASE_EXPORT GestureEventDetails {
}
bool swipe_left() const {
- DCHECK_EQ(ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ET_GESTURE_SWIPE, type_);
return data.swipe.left;
}
bool swipe_right() const {
- DCHECK_EQ(ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ET_GESTURE_SWIPE, type_);
return data.swipe.right;
}
bool swipe_up() const {
- DCHECK_EQ(ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ET_GESTURE_SWIPE, type_);
return data.swipe.up;
}
bool swipe_down() const {
- DCHECK_EQ(ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ET_GESTURE_SWIPE, type_);
return data.swipe.down;
}
« no previous file with comments | « ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc ('k') | ui/events/gesture_event_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698