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

Unified Diff: athena/home/home_card_gesture_manager.h

Issue 582923002: Do not EASE_IN_OUT after fling, rather EASE_OUT. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 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 | « athena/home/athena_start_page_view.cc ('k') | athena/home/home_card_gesture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_gesture_manager.h
diff --git a/athena/home/home_card_gesture_manager.h b/athena/home/home_card_gesture_manager.h
index bd27e61d947b365057972b9aec65c3f8067cee34..04510187cbf95663e686ad092cac2c94281e2702 100644
--- a/athena/home/home_card_gesture_manager.h
+++ b/athena/home/home_card_gesture_manager.h
@@ -21,8 +21,10 @@ class ATHENA_EXPORT HomeCardGestureManager {
class Delegate {
public:
// Called when the gesture has ended. The state of the home card will
- // end up with |final_state|.
- virtual void OnGestureEnded(HomeCard::State final_state) = 0;
+ // end up with |final_state|. |is_fling| is true only when the gesture has
+ // ended with a fling action.
+ virtual void OnGestureEnded(HomeCard::State final_state,
+ bool is_fling) = 0;
// Called when the gesture position is updated so that |delegate| updates
// the visual. The arguments indicate that the gesture is switching between
« no previous file with comments | « athena/home/athena_start_page_view.cc ('k') | athena/home/home_card_gesture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698