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

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: 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 fb897b2fce308bf0b2154080df1a7921daff79f7..fd562c55e46786031d116290dae12d14a1a07b81 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(ui::ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ui::ET_GESTURE_SWIPE, type_);
return data.swipe.left;
}
bool swipe_right() const {
- DCHECK_EQ(ui::ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ui::ET_GESTURE_SWIPE, type_);
return data.swipe.right;
}
bool swipe_up() const {
- DCHECK_EQ(ui::ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ui::ET_GESTURE_SWIPE, type_);
return data.swipe.up;
}
bool swipe_down() const {
- DCHECK_EQ(ui::ET_GESTURE_MULTIFINGER_SWIPE, type_);
+ DCHECK_EQ(ui::ET_GESTURE_SWIPE, type_);
return data.swipe.down;
}

Powered by Google App Engine
This is Rietveld 408576698