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

Unified Diff: ui/base/animation/throb_animation.cc

Issue 10392173: Flash window by pulsing their launcher icon state indicator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some cleanup Created 8 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/base/animation/throb_animation.cc
diff --git a/ui/base/animation/throb_animation.cc b/ui/base/animation/throb_animation.cc
index 95e9a65c9c8ebb138b5b6d8d718919c95da7677b..df463337361022bf4d386256f3bc2db46e3538d4 100644
--- a/ui/base/animation/throb_animation.cc
+++ b/ui/base/animation/throb_animation.cc
@@ -35,8 +35,12 @@ void ThrobAnimation::StartThrobbing(int cycles_til_stop) {
}
void ThrobAnimation::Reset() {
+ Reset(0);
+}
+
+void ThrobAnimation::Reset(double value) {
ResetForSlide();
- SlideAnimation::Reset();
+ SlideAnimation::Reset(value);
}
void ThrobAnimation::Show() {

Powered by Google App Engine
This is Rietveld 408576698