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

Unified Diff: athena/home/home_card_gesture_manager.h

Issue 529813002: Simplify HomeCardGestureManager::UpdateScrollState() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | athena/home/home_card_gesture_manager.cc » ('j') | athena/home/home_card_impl.cc » ('J')
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 8749b91d8cb426be204f5b5822c9e46283603e47..12e6fc67dac2921591519ddc0a8be35aaa5a1764 100644
--- a/athena/home/home_card_gesture_manager.h
+++ b/athena/home/home_card_gesture_manager.h
@@ -24,13 +24,11 @@ class ATHENA_EXPORT HomeCardGestureManager {
// end up with |final_state|.
virtual void OnGestureEnded(HomeCard::State final_state) = 0;
- // Called when the gesture position is updated so that |delegate| should
- // update the visual. The arguments represent the state of the current
- // gesture position is switching from |from_state| to |to_state|, and
- // the level of the progress is at |progress|, which is 0 to 1.
- // |from_state| and |to_state| could be same. For example, if the user moves
- // the finger down to the bottom of the screen, both states are MINIMIZED.
- // In that case |progress| is 0.
+ // Called when the gesture position is updated so that |delegate| updates
+ // the visual. The arguments indicate that the gesture is switching from
+ // |from_state| to |to_state|, and that the level of progress is at
+ // |progress|, which is 0 to 1.
+ // |from_state| is never equal to |to_state|.
virtual void OnGestureProgressed(
HomeCard::State from_state,
HomeCard::State to_state,
« no previous file with comments | « no previous file | athena/home/home_card_gesture_manager.cc » ('j') | athena/home/home_card_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698