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

Unified Diff: ash/wm/frame_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
« no previous file with comments | « ash/touch/touch_hud_projection.cc ('k') | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.h
diff --git a/ash/wm/frame_painter.h b/ash/wm/frame_painter.h
index a5d40fb524d0985272d9f6d9f44e402444f99e61..d7902218ec74f520b92492cec9d9d90f0dbc8c6e 100644
--- a/ash/wm/frame_painter.h
+++ b/ash/wm/frame_painter.h
@@ -12,7 +12,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "ui/aura/window_observer.h"
-#include "ui/base/animation/animation_delegate.h"
+#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/rect.h"
namespace aura {
@@ -25,8 +25,6 @@ class Font;
class ImageSkia;
class Point;
class Size;
-}
-namespace ui {
class SlideAnimation;
}
namespace views {
@@ -42,7 +40,7 @@ class FrameCaptionButtonContainerView;
// various implementations of views::NonClientFrameView. Canonical source of
// layout constants for Ash window frames.
class ASH_EXPORT FramePainter : public aura::WindowObserver,
- public ui::AnimationDelegate,
+ public gfx::AnimationDelegate,
public wm::WindowSettings::Observer {
public:
// Opacity values for the window header in various states, from 0 to 255.
@@ -151,8 +149,8 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
virtual void OnTrackedByWorkspaceChanged(aura::Window* window,
bool old) OVERRIDE;
- // Overridden from ui::AnimationDelegate
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ // Overridden from gfx::AnimationDelegate
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
private:
FRIEND_TEST_ALL_PREFIXES(FramePainterTest, CreateAndDeleteSingleWindow);
@@ -238,7 +236,7 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
int crossfade_opacity_;
gfx::Rect header_frame_bounds_;
- scoped_ptr<ui::SlideAnimation> crossfade_animation_;
+ scoped_ptr<gfx::SlideAnimation> crossfade_animation_;
DISALLOW_COPY_AND_ASSIGN(FramePainter);
};
« no previous file with comments | « ash/touch/touch_hud_projection.cc ('k') | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698