diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 17:19:03 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 17:19:03 +0000 |
commit | f1cd5e88af6f0d088d7b90a8f4b69da63aa994af (patch) | |
tree | ba1f8cd8109f97b8f7b559f1cda022d9485d00ca /app | |
parent | 00f6b77b89dcd900c873ed9da13dbaa2e90fe022 (diff) | |
download | chromium_src-f1cd5e88af6f0d088d7b90a8f4b69da63aa994af.zip chromium_src-f1cd5e88af6f0d088d7b90a8f4b69da63aa994af.tar.gz chromium_src-f1cd5e88af6f0d088d7b90a8f4b69da63aa994af.tar.bz2 |
Makes inactive pinned tabs on linux throb when the title changes. I
need to resolve with Glen/Nicholas how to handle the windows side.
BUG=25308
TEST=none
Review URL: http://codereview.chromium.org/314010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/throb_animation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/throb_animation.h b/app/throb_animation.h index 637e8e0..43e4197 100644 --- a/app/throb_animation.h +++ b/app/throb_animation.h @@ -37,6 +37,10 @@ class ThrobAnimation : public SlideAnimation { // Overridden to maintain the slide duration. virtual void SetSlideDuration(int duration) { slide_duration_ = duration; } + // The number of cycles remaining until the animation stops. + void set_cycles_remaining(int value) { cycles_remaining_ = value; } + int cycles_remaining() const { return cycles_remaining_; } + private: // Resets state such that we behave like SlideAnimation. void ResetForSlide(); |