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

Unified Diff: cc/layer_tree_host_unittest_animation.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_impl.cc ('k') | cc/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_animation.cc
diff --git a/cc/layer_tree_host_unittest_animation.cc b/cc/layer_tree_host_unittest_animation.cc
index e58660b19a052099f2972d0df9532df894079098..173d73edd72403d328fc2724a02e06c302c26331 100644
--- a/cc/layer_tree_host_unittest_animation.cc
+++ b/cc/layer_tree_host_unittest_animation.cc
@@ -248,8 +248,8 @@ public:
bool hasUnfinishedAnimation) OVERRIDE {
LayerAnimationController* controller =
m_layerTreeHost->rootLayer()->layerAnimationController();
- ActiveAnimation* animation =
- controller->getActiveAnimation(0, ActiveAnimation::Opacity);
+ Animation* animation =
+ controller->getAnimation(0, Animation::Opacity);
if (!animation)
return;
@@ -267,8 +267,8 @@ public:
LayerAnimationController* controller_impl =
host_impl->rootLayer()->layerAnimationController();
- ActiveAnimation* animation_impl =
- controller_impl->getActiveAnimation(0, ActiveAnimation::Opacity);
+ Animation* animation_impl =
+ controller_impl->getAnimation(0, Animation::Opacity);
controller->removeAnimation(animation->id());
controller_impl->removeAnimation(animation_impl->id());
@@ -298,8 +298,8 @@ class LayerTreeHostAnimationTestSynchronizeAnimationStartTimes :
virtual void notifyAnimationStarted(double time) OVERRIDE {
LayerAnimationController* controller =
m_layerTreeHost->rootLayer()->layerAnimationController();
- ActiveAnimation* animation =
- controller->getActiveAnimation(0, ActiveAnimation::Opacity);
+ Animation* animation =
+ controller->getAnimation(0, Animation::Opacity);
main_start_time_ = animation->startTime();
controller->removeAnimation(animation->id());
@@ -313,8 +313,8 @@ class LayerTreeHostAnimationTestSynchronizeAnimationStartTimes :
bool hasUnfinishedAnimation) OVERRIDE {
LayerAnimationController* controller =
impl_host->rootLayer()->layerAnimationController();
- ActiveAnimation* animation =
- controller->getActiveAnimation(0, ActiveAnimation::Opacity);
+ Animation* animation =
+ controller->getAnimation(0, Animation::Opacity);
if (!animation)
return;
@@ -349,8 +349,8 @@ class LayerTreeHostAnimationTestAnimationFinishedEvents :
virtual void notifyAnimationFinished(double time) OVERRIDE {
LayerAnimationController* controller =
m_layerTreeHost->rootLayer()->layerAnimationController();
- ActiveAnimation* animation =
- controller->getActiveAnimation(0, ActiveAnimation::Opacity);
+ Animation* animation =
+ controller->getAnimation(0, Animation::Opacity);
controller->removeAnimation(animation->id());
endTest();
}
@@ -419,9 +419,9 @@ class LayerTreeHostAnimationTestLayerAddedWithAnimation :
// Any valid AnimationCurve will do here.
scoped_ptr<AnimationCurve> curve(EaseTimingFunction::create());
- scoped_ptr<ActiveAnimation> animation(
- ActiveAnimation::create(curve.Pass(), 1, 1,
- ActiveAnimation::Opacity));
+ scoped_ptr<Animation> animation(
+ Animation::create(curve.Pass(), 1, 1,
+ Animation::Opacity));
layer->layerAnimationController()->addAnimation(animation.Pass());
// We add the animation *before* attaching the layer to the tree.
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698