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

Unified Diff: cc/layer.cc

Issue 11636051: Rename ActiveAnimation -> Animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 | « cc/layer.h ('k') | cc/layer_animation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index 73a7711393f3c6611bd040394409ec773482ddf5..f34c4ae93b241eca5c0773b0e34d15810a9d9b4b 100644
--- a/cc/layer.cc
+++ b/cc/layer.cc
@@ -4,7 +4,7 @@
#include "cc/layer.h"
-#include "cc/active_animation.h"
+#include "cc/animation.h"
#include "cc/animation_events.h"
#include "cc/layer_animation_controller.h"
#include "cc/layer_impl.h"
@@ -386,7 +386,7 @@ float Layer::opacity() const
bool Layer::opacityIsAnimating() const
{
- return m_layerAnimationController->isAnimatingProperty(ActiveAnimation::Opacity);
+ return m_layerAnimationController->isAnimatingProperty(Animation::Opacity);
}
void Layer::setContentsOpaque(bool opaque)
@@ -428,7 +428,7 @@ const gfx::Transform& Layer::transform() const
bool Layer::transformIsAnimating() const
{
- return m_layerAnimationController->isAnimatingProperty(ActiveAnimation::Transform);
+ return m_layerAnimationController->isAnimatingProperty(Animation::Transform);
}
void Layer::setScrollOffset(gfx::Vector2d scrollOffset)
@@ -748,7 +748,7 @@ void Layer::OnTransformAnimated(const gfx::Transform& transform)
m_transform = transform;
}
-bool Layer::addAnimation(scoped_ptr <ActiveAnimation> animation)
+bool Layer::addAnimation(scoped_ptr <Animation> animation)
{
// WebCore currently assumes that accelerated animations will start soon
// after the animation is added. However we cannot guarantee that if we do
« no previous file with comments | « cc/layer.h ('k') | cc/layer_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698