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

Unified Diff: chrome/browser/ui/toolbar/wrench_icon_painter.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
Index: chrome/browser/ui/toolbar/wrench_icon_painter.h
diff --git a/chrome/browser/ui/toolbar/wrench_icon_painter.h b/chrome/browser/ui/toolbar/wrench_icon_painter.h
index 5b72e4bf4f5a42f5a76332e3fbb53be41bd1282e..77b5e5477f8508ae7a8c152d4b3a91eb3ce547d3 100644
--- a/chrome/browser/ui/toolbar/wrench_icon_painter.h
+++ b/chrome/browser/ui/toolbar/wrench_icon_painter.h
@@ -10,21 +10,21 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/global_error/global_error.h"
#include "chrome/browser/upgrade_detector.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 MultiAnimation;
class Rect;
}
namespace ui {
-class MultiAnimation;
class ThemeProvider;
}
// This class is used to draw the wrench icon. It can signify severity levels
// by changing the wrench icon to different colors.
-class WrenchIconPainter : ui::AnimationDelegate {
+class WrenchIconPainter : gfx::AnimationDelegate {
public:
enum BezelType {
BEZEL_NONE,
@@ -76,7 +76,7 @@ class WrenchIconPainter : ui::AnimationDelegate {
FRIEND_TEST_ALL_PREFIXES(WrenchIconPainterTest, PaintCallback);
// AnimationDelegate:
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
// Gets the image ID used to draw bars for the current severity level.
int GetCurrentSeverityImageID() const;
@@ -84,7 +84,7 @@ class WrenchIconPainter : ui::AnimationDelegate {
Delegate* delegate_;
Severity severity_;
gfx::ImageSkia badge_;
- scoped_ptr<ui::MultiAnimation> animation_;
+ scoped_ptr<gfx::MultiAnimation> animation_;
DISALLOW_COPY_AND_ASSIGN(WrenchIconPainter);
};
« no previous file with comments | « chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc ('k') | chrome/browser/ui/toolbar/wrench_icon_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698