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

Unified Diff: ui/events/gesture_detection/gesture_detector.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_detection/gesture_detector.h
diff --git a/ui/events/gesture_detection/gesture_detector.h b/ui/events/gesture_detection/gesture_detector.h
index 7552733ec06fe34345e50c09ff3d449e2bd6759b..37c894f31806064c37d9c9efe3d2906d3cad2514 100644
--- a/ui/events/gesture_detection/gesture_detector.h
+++ b/ui/events/gesture_detection/gesture_detector.h
@@ -157,6 +157,7 @@ class GestureDetector {
bool IsConsideredDoubleTap(const MotionEvent& first_down,
const MotionEvent& first_up,
const MotionEvent& second_down) const;
+ bool handleSwipeIfNeeded(const MotionEvent& up, float vx, float vy);
jdduke (slow) 2014/05/26 21:19:42 Nit: handle -> Handle
mfomitchev 2014/05/26 22:07:14 Done.
class TimeoutGestureHandler;
scoped_ptr<TimeoutGestureHandler> timeout_handler_;

Powered by Google App Engine
This is Rietveld 408576698