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

Unified Diff: cc/test/CCAnimationTestCommon.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/stubs/UnitBezier.h ('k') | cc/test/CCAnimationTestCommon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCAnimationTestCommon.h
diff --git a/cc/test/CCAnimationTestCommon.h b/cc/test/CCAnimationTestCommon.h
index 51f5a51305eb721ad459a24704dc26864c9bec61..6995f77a8e0d6cb2cab5ea34ff9bdbf24f5e964f 100644
--- a/cc/test/CCAnimationTestCommon.h
+++ b/cc/test/CCAnimationTestCommon.h
@@ -12,24 +12,24 @@
#include <wtf/OwnPtr.h>
-namespace WebCore {
+namespace cc {
class CCLayerImpl;
class LayerChromium;
}
namespace WebKitTests {
-class FakeFloatAnimationCurve : public WebCore::CCFloatAnimationCurve {
+class FakeFloatAnimationCurve : public cc::CCFloatAnimationCurve {
public:
FakeFloatAnimationCurve();
virtual ~FakeFloatAnimationCurve();
virtual double duration() const OVERRIDE;
virtual float getValue(double now) const OVERRIDE;
- virtual PassOwnPtr<WebCore::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
};
-class FakeTransformTransition : public WebCore::CCTransformAnimationCurve {
+class FakeTransformTransition : public cc::CCTransformAnimationCurve {
public:
FakeTransformTransition(double duration);
virtual ~FakeTransformTransition();
@@ -37,13 +37,13 @@ public:
virtual double duration() const OVERRIDE;
virtual WebKit::WebTransformationMatrix getValue(double time) const OVERRIDE;
- virtual PassOwnPtr<WebCore::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
};
-class FakeFloatTransition : public WebCore::CCFloatAnimationCurve {
+class FakeFloatTransition : public cc::CCFloatAnimationCurve {
public:
FakeFloatTransition(double duration, float from, float to);
virtual ~FakeFloatTransition();
@@ -51,7 +51,7 @@ public:
virtual double duration() const OVERRIDE;
virtual float getValue(double time) const OVERRIDE;
- virtual PassOwnPtr<WebCore::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
@@ -59,7 +59,7 @@ private:
float m_to;
};
-class FakeLayerAnimationControllerClient : public WebCore::CCLayerAnimationControllerClient {
+class FakeLayerAnimationControllerClient : public cc::CCLayerAnimationControllerClient {
public:
FakeLayerAnimationControllerClient();
virtual ~FakeLayerAnimationControllerClient();
@@ -76,14 +76,14 @@ private:
WebKit::WebTransformationMatrix m_transform;
};
-void addOpacityTransitionToController(WebCore::CCLayerAnimationController&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
-void addAnimatedTransformToController(WebCore::CCLayerAnimationController&, double duration, int deltaX, int deltaY);
+void addOpacityTransitionToController(cc::CCLayerAnimationController&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
+void addAnimatedTransformToController(cc::CCLayerAnimationController&, double duration, int deltaX, int deltaY);
-void addOpacityTransitionToLayer(WebCore::LayerChromium&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
-void addOpacityTransitionToLayer(WebCore::CCLayerImpl&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
+void addOpacityTransitionToLayer(cc::LayerChromium&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
+void addOpacityTransitionToLayer(cc::CCLayerImpl&, double duration, float startOpacity, float endOpacity, bool useTimingFunction);
-void addAnimatedTransformToLayer(WebCore::LayerChromium&, double duration, int deltaX, int deltaY);
-void addAnimatedTransformToLayer(WebCore::CCLayerImpl&, double duration, int deltaX, int deltaY);
+void addAnimatedTransformToLayer(cc::LayerChromium&, double duration, int deltaX, int deltaY);
+void addAnimatedTransformToLayer(cc::CCLayerImpl&, double duration, int deltaX, int deltaY);
} // namespace WebKitTests
« no previous file with comments | « cc/stubs/UnitBezier.h ('k') | cc/test/CCAnimationTestCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698