Index: cc/test/animation_test_common.cc |
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc |
index 9920751eeef01cdeb5037930a4e6a11416b57592..258a266d25eae055f355a080a3ab768fd8bfd76b 100644 |
--- a/cc/test/animation_test_common.cc |
+++ b/cc/test/animation_test_common.cc |
@@ -146,40 +146,25 @@ float FakeFloatTransition::getValue(double time) const |
return (1 - time) * m_from + time * m_to; |
} |
-FakeLayerAnimationControllerClient::FakeLayerAnimationControllerClient() |
+FakeLayerAnimationValueObserver::FakeLayerAnimationValueObserver() |
: m_opacity(0) |
{ |
} |
-FakeLayerAnimationControllerClient::~FakeLayerAnimationControllerClient() |
+FakeLayerAnimationValueObserver::~FakeLayerAnimationValueObserver() |
{ |
} |
-int FakeLayerAnimationControllerClient::id() const |
-{ |
- return 0; |
-} |
- |
-void FakeLayerAnimationControllerClient::setOpacityFromAnimation(float opacity) |
+void FakeLayerAnimationValueObserver::OnOpacityAnimated(float opacity) |
{ |
m_opacity = opacity; |
} |
-float FakeLayerAnimationControllerClient::opacity() const |
-{ |
- return m_opacity; |
-} |
- |
-void FakeLayerAnimationControllerClient::setTransformFromAnimation(const gfx::Transform& transform) |
+void FakeLayerAnimationValueObserver::OnTransformAnimated(const gfx::Transform& transform) |
{ |
m_transform = transform; |
} |
-const gfx::Transform& FakeLayerAnimationControllerClient::transform() const |
-{ |
- return m_transform; |
-} |
- |
scoped_ptr<cc::AnimationCurve> FakeFloatTransition::clone() const |
{ |
return make_scoped_ptr(new FakeFloatTransition(*this)).PassAs<cc::AnimationCurve>(); |