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

Unified Diff: chrome/browser/ui/tabs/tab_audio_indicator.h

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 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 | « chrome/browser/ui/panels/panel_bounds_animation.cc ('k') | chrome/browser/ui/tabs/tab_audio_indicator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tabs/tab_audio_indicator.h
diff --git a/chrome/browser/ui/tabs/tab_audio_indicator.h b/chrome/browser/ui/tabs/tab_audio_indicator.h
index 5206c8d331729f53aa5ee0e8cfb861184981781b..dcbdab2069fe7bb34b52537dde633a45e6ec96f8 100644
--- a/chrome/browser/ui/tabs/tab_audio_indicator.h
+++ b/chrome/browser/ui/tabs/tab_audio_indicator.h
@@ -11,21 +11,19 @@
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "ui/base/animation/animation_delegate.h"
+#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/image/image_skia.h"
namespace gfx {
-class Canvas;
-class Rect;
-}
-namespace ui {
class Animation;
class AnimationContainer;
+class Canvas;
class LinearAnimation;
+class Rect;
}
// This class is used to draw an animating tab audio indicator.
-class TabAudioIndicator : public ui::AnimationDelegate {
+class TabAudioIndicator : public gfx::AnimationDelegate {
public:
class Delegate {
public:
@@ -40,7 +38,7 @@ class TabAudioIndicator : public ui::AnimationDelegate {
void set_favicon(const gfx::ImageSkia& favicon) { favicon_ = favicon; }
- void SetAnimationContainer(ui::AnimationContainer* animation_container);
+ void SetAnimationContainer(gfx::AnimationContainer* animation_container);
void SetIsPlayingAudio(bool is_playing_audio);
bool IsAnimating();
@@ -57,16 +55,16 @@ class TabAudioIndicator : public ui::AnimationDelegate {
FRIEND_TEST_ALL_PREFIXES(TabAudioIndicatorTest, SchedulePaint);
// AnimationDelegate:
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
- virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
+ virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
// Gets the equalizer levels for all 3 columns. The values are tweened between
// the current and target frame.
std::vector<int> GetCurrentEqualizerLevels() const;
Delegate* delegate_;
- scoped_ptr<ui::LinearAnimation> animation_;
- scoped_refptr<ui::AnimationContainer> animation_container_;
+ scoped_ptr<gfx::LinearAnimation> animation_;
+ scoped_refptr<gfx::AnimationContainer> animation_container_;
gfx::ImageSkia favicon_;
// The equalizer frame that's currently being displayed.
« no previous file with comments | « chrome/browser/ui/panels/panel_bounds_animation.cc ('k') | chrome/browser/ui/tabs/tab_audio_indicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698