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

Unified Diff: ui/base/gestures/gesture_sequence.cc

Issue 11881042: highlight intermediate tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make check for Gesture vs Scroll event for flings explicit Created 7 years, 11 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/base/gestures/gesture_sequence.cc
diff --git a/ui/base/gestures/gesture_sequence.cc b/ui/base/gestures/gesture_sequence.cc
index 56c12a8ba3c3ba2e86fb8b15524d2dbc8bf7a71c..1791fe5c03bac621632752d21ad2e38c059379de 100644
--- a/ui/base/gestures/gesture_sequence.cc
+++ b/ui/base/gestures/gesture_sequence.cc
@@ -720,7 +720,7 @@ void GestureSequence::AppendScrollGestureEnd(const GesturePoint& point,
CalibrateFlingVelocity(railed_x_velocity),
CalibrateFlingVelocity(railed_y_velocity)),
location,
- flags_,
+ flags_ | EF_FROM_TOUCH,
sky 2013/01/22 18:05:01 Why would we only set EF_FROM_TOUCH for fling star
sadrul 2013/01/22 20:07:24 I agree. The best place would be to set the flag i
DaveMoore 2013/01/27 21:21:54 Done.
DaveMoore 2013/01/27 21:21:54 Done.
base::Time::FromDoubleT(point.last_touch_time()),
1 << point.touch_id()));
} else {

Powered by Google App Engine
This is Rietveld 408576698