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

Unified Diff: ui/gfx/compositor/layer.h

Issue 8247009: Explicit animation support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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: ui/gfx/compositor/layer.h
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
index c449e88e70809a286d8747c0659c2d007a711bbf..60d53a353fd3134748e519812842f7bcca1f1ac8 100644
--- a/ui/gfx/compositor/layer.h
+++ b/ui/gfx/compositor/layer.h
@@ -15,7 +15,7 @@
#include "ui/gfx/rect.h"
#include "ui/gfx/transform.h"
#include "ui/gfx/compositor/compositor.h"
-#include "ui/gfx/compositor/layer_animator.h"
+#include "ui/gfx/compositor/layer_animation_manager.h"
#include "ui/gfx/compositor/layer_animator_delegate.h"
#include "ui/gfx/compositor/layer_delegate.h"
@@ -222,7 +222,8 @@ class COMPOSITOR_EXPORT Layer : public LayerAnimatorDelegate {
// If the animation is running and has progressed, it is stopped and all
// properties that are animated (except |property|) are immediately set to
// their target value.
- void StopAnimatingIfNecessary(LayerAnimator::AnimationProperty property);
+ void StopAnimatingIfNecessary(
+ LayerAnimationManager::AnimationProperty property);
// Following are invoked from the animation or if no animation exists to
// update the values immediately.
@@ -265,7 +266,7 @@ class COMPOSITOR_EXPORT Layer : public LayerAnimatorDelegate {
LayerDelegate* delegate_;
- scoped_ptr<LayerAnimator> animator_;
+ scoped_ptr<LayerAnimationManager> animator_;
DISALLOW_COPY_AND_ASSIGN(Layer);
};

Powered by Google App Engine
This is Rietveld 408576698