diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 17:33:39 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 17:33:39 +0000 |
commit | f676780687464428e340d008a0d1ca13d9944628 (patch) | |
tree | 489e8bd8188e31a7f6c53f15e8d1d9c6ba36d023 /chrome/browser/chromeos/setting_level_bubble.h | |
parent | 3b65bfd55c56cf8a6db025087d937494f49dc15f (diff) | |
download | chromium_src-f676780687464428e340d008a0d1ca13d9944628.zip chromium_src-f676780687464428e340d008a0d1ca13d9944628.tar.gz chromium_src-f676780687464428e340d008a0d1ca13d9944628.tar.bz2 |
Move animation code to new ui/base/animation directory.
BUG=none
TEST=none
TBR=brettw
Review URL: http://codereview.chromium.org/6154001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/setting_level_bubble.h')
-rw-r--r-- | chrome/browser/chromeos/setting_level_bubble.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/setting_level_bubble.h b/chrome/browser/chromeos/setting_level_bubble.h index 262bbdc..9cc43d9 100644 --- a/chrome/browser/chromeos/setting_level_bubble.h +++ b/chrome/browser/chromeos/setting_level_bubble.h @@ -6,11 +6,11 @@ #define CHROME_BROWSER_CHROMEOS_SETTING_LEVEL_BUBBLE_H_ #pragma once -#include "app/animation_delegate.h" -#include "app/slide_animation.h" #include "base/basictypes.h" #include "base/timer.h" #include "chrome/browser/views/info_bubble.h" +#include "ui/base/animation/animation_delegate.h" +#include "ui/base/animation/slide_animation.h" class SkBitmap; @@ -21,7 +21,7 @@ class SettingLevelBubbleView; // Singleton class controlling a bubble displaying a level-based setting like // volume or brightness. class SettingLevelBubble : public InfoBubbleDelegate, - public AnimationDelegate { + public ui::AnimationDelegate { public: void ShowBubble(int percent); void HideBubble(); @@ -41,9 +41,9 @@ class SettingLevelBubble : public InfoBubbleDelegate, virtual bool CloseOnEscape() { return true; } virtual bool FadeInOnShow() { return false; } - // Overridden from AnimationDelegate. - virtual void AnimationEnded(const Animation* animation); - virtual void AnimationProgressed(const Animation* animation); + // Overridden from ui::AnimationDelegate. + virtual void AnimationEnded(const ui::Animation* animation); + virtual void AnimationProgressed(const ui::Animation* animation); // Previous and current percentages, or -1 if not yet shown. int previous_percent_; @@ -61,7 +61,7 @@ class SettingLevelBubble : public InfoBubbleDelegate, // Its contents view, owned by InfoBubble. SettingLevelBubbleView* view_; - SlideAnimation animation_; + ui::SlideAnimation animation_; base::OneShotTimer<SettingLevelBubble> timeout_timer_; DISALLOW_COPY_AND_ASSIGN(SettingLevelBubble); |