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

Unified Diff: ui/message_center/views/message_view.cc

Issue 19471016: message-center: Fix fling scroll in the list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_view.cc
diff --git a/ui/message_center/views/message_view.cc b/ui/message_center/views/message_view.cc
index 582350713d30954f0699acf92ff6577897864bcb..17ae21c484278706dddafd62f0aed868c00416b6 100644
--- a/ui/message_center/views/message_view.cc
+++ b/ui/message_center/views/message_view.cc
@@ -430,7 +430,8 @@ void MessageView::OnGestureEvent(ui::GestureEvent* event) {
// even though the scroll gesture doesn't make no (or little) effects on the
// slide-out behavior. See http://crbug.com/172991
- if (!event->IsScrollGestureEvent())
+ if (!event->IsScrollGestureEvent() &&
+ event->type() != ui::ET_SCROLL_FLING_START)
Jun Mukai 2013/07/24 00:52:08 by the way, should it also check ET_SCROLL_FLING_C
sadrul 2013/07/24 04:46:43 Done. (The gesture-recognizer never generates a F
return;
if (scroller_)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698