| Index: cc/test/animation_test_common.h
|
| diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
|
| index a45e9f0271262c701396ce86ecc4ff5c1991b9a5..6ee0cdd87ddb4c4b90239e178af29f8ce533fa1b 100644
|
| --- a/cc/test/animation_test_common.h
|
| +++ b/cc/test/animation_test_common.h
|
| @@ -60,6 +60,23 @@ private:
|
| float m_to;
|
| };
|
|
|
| +class FakeLayerAnimationControllerClient : public cc::LayerAnimationControllerClient {
|
| +public:
|
| + FakeLayerAnimationControllerClient();
|
| + virtual ~FakeLayerAnimationControllerClient();
|
| +
|
| + // LayerAnimationControllerClient implementation
|
| + virtual int id() const OVERRIDE;
|
| + virtual void setOpacityFromAnimation(float) OVERRIDE;
|
| + virtual float opacity() const OVERRIDE;
|
| + virtual void setTransformFromAnimation(const gfx::Transform&) OVERRIDE;
|
| + virtual const gfx::Transform& transform() const OVERRIDE;
|
| +
|
| +private:
|
| + float m_opacity;
|
| + gfx::Transform m_transform;
|
| +};
|
| +
|
| int addOpacityTransitionToController(cc::LayerAnimationController&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
|
| int addAnimatedTransformToController(cc::LayerAnimationController&, double duration, int deltaX, int deltaY);
|
|
|
|
|