diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:46:37 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:46:37 +0000 |
commit | 3a1c05aafb9bd86ce88349fb06052792b182c964 (patch) | |
tree | 163906dd98691c278d952e45fd39a3efb94546f3 /app/slide_animation.h | |
parent | e085c30ad5cb73ad9497bcf566d93e48127bc48c (diff) | |
download | chromium_src-3a1c05aafb9bd86ce88349fb06052792b182c964.zip chromium_src-3a1c05aafb9bd86ce88349fb06052792b182c964.tar.gz chromium_src-3a1c05aafb9bd86ce88349fb06052792b182c964.tar.bz2 |
Make the bookmark bar closing animation less janky.
(Forgot to do this when adding the animation.)
BUG=none
TEST=Close the bookmark bar on a page with a dark background/complex elements. There should be very little annoying white stuff at the bottom.
Review URL: http://codereview.chromium.org/118066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/slide_animation.h')
-rw-r--r-- | app/slide_animation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/slide_animation.h b/app/slide_animation.h index 4bbcd2e..edb7d57 100644 --- a/app/slide_animation.h +++ b/app/slide_animation.h @@ -74,6 +74,7 @@ class SlideAnimation : public Animation { double GetCurrentValue() const { return value_current_; } bool IsShowing() const { return showing_; } + bool IsClosing() const { return value_end_ < value_current_; } private: // Overridden from Animation. |