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

Unified Diff: chrome/browser/ui/views/download/download_item_view.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/views/download/download_item_view.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index 4714be81aefcd5dea8d5570fe719a8455ce183a8..177d2432596ced785a36a26cf16df7be9b1c0c10 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -29,7 +29,7 @@
#include "chrome/common/cancelable_task_tracker.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
-#include "ui/base/animation/animation_delegate.h"
+#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/font_list.h"
#include "ui/views/context_menu_controller.h"
#include "ui/views/controls/button/button.h"
@@ -41,9 +41,6 @@ class DownloadShelfContextMenuView;
namespace gfx {
class Image;
class ImageSkia;
-}
-
-namespace ui {
class SlideAnimation;
}
@@ -56,7 +53,7 @@ class DownloadItemView : public views::ButtonListener,
public views::View,
public views::ContextMenuController,
public content::DownloadItem::Observer,
- public ui::AnimationDelegate {
+ public gfx::AnimationDelegate {
public:
DownloadItemView(content::DownloadItem* download,
DownloadShelfView* parent);
@@ -105,8 +102,8 @@ class DownloadItemView : public views::ButtonListener,
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
- // ui::AnimationDelegate implementation.
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ // gfx::AnimationDelegate implementation.
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
protected:
// Overridden from views::View:
@@ -224,7 +221,7 @@ class DownloadItemView : public views::ButtonListener,
// Show/Hide/Reset |animation| based on the state transition specified by
// |from| and |to|.
void AnimateStateTransition(State from, State to,
- ui::SlideAnimation* animation);
+ gfx::SlideAnimation* animation);
// The different images used for the background.
BodyImageSet normal_body_image_set_;
@@ -290,11 +287,11 @@ class DownloadItemView : public views::ButtonListener,
DownloadItemModel model_;
// Hover animations for our body and drop buttons.
- scoped_ptr<ui::SlideAnimation> body_hover_animation_;
- scoped_ptr<ui::SlideAnimation> drop_hover_animation_;
+ scoped_ptr<gfx::SlideAnimation> body_hover_animation_;
+ scoped_ptr<gfx::SlideAnimation> drop_hover_animation_;
// Animation for download complete.
- scoped_ptr<ui::SlideAnimation> complete_animation_;
+ scoped_ptr<gfx::SlideAnimation> complete_animation_;
// Progress animation
base::RepeatingTimer<DownloadItemView> progress_timer_;
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698