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

Unified Diff: cc/test/CCSchedulerTestCommon.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/test/CCOcclusionTrackerTestCommon.h ('k') | cc/test/CCTestCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCSchedulerTestCommon.h
diff --git a/cc/test/CCSchedulerTestCommon.h b/cc/test/CCSchedulerTestCommon.h
index 8e3c1c877d45325809a324386d38901c3b3299b7..673fd7d70fd6d24e0aa0d027f426b3d1c9c0fd41 100644
--- a/cc/test/CCSchedulerTestCommon.h
+++ b/cc/test/CCSchedulerTestCommon.h
@@ -14,7 +14,7 @@
namespace WebKitTests {
-class FakeCCTimeSourceClient : public WebCore::CCTimeSourceClient {
+class FakeCCTimeSourceClient : public cc::CCTimeSourceClient {
public:
FakeCCTimeSourceClient() { reset(); }
void reset() { m_tickCalled = false; }
@@ -26,7 +26,7 @@ protected:
bool m_tickCalled;
};
-class FakeCCThread : public WebCore::CCThread {
+class FakeCCThread : public cc::CCThread {
public:
FakeCCThread() { reset(); }
void reset()
@@ -73,7 +73,7 @@ protected:
bool m_runPendingTaskOnOverwrite;
};
-class FakeCCTimeSource : public WebCore::CCTimeSource {
+class FakeCCTimeSource : public cc::CCTimeSource {
public:
FakeCCTimeSource()
: m_active(false)
@@ -85,7 +85,7 @@ public:
virtual ~FakeCCTimeSource() { }
- virtual void setClient(WebCore::CCTimeSourceClient* client) OVERRIDE { m_client = client; }
+ virtual void setClient(cc::CCTimeSourceClient* client) OVERRIDE { m_client = client; }
virtual void setActive(bool b) OVERRIDE { m_active = b; }
virtual bool active() const OVERRIDE { return m_active; }
virtual void setTimebaseAndInterval(double timebase, double interval) OVERRIDE { }
@@ -104,12 +104,12 @@ public:
protected:
bool m_active;
double m_nextTickTime;
- WebCore::CCTimeSourceClient* m_client;
+ cc::CCTimeSourceClient* m_client;
};
-class FakeCCDelayBasedTimeSource : public WebCore::CCDelayBasedTimeSource {
+class FakeCCDelayBasedTimeSource : public cc::CCDelayBasedTimeSource {
public:
- static PassRefPtr<FakeCCDelayBasedTimeSource> create(double interval, WebCore::CCThread* thread)
+ static PassRefPtr<FakeCCDelayBasedTimeSource> create(double interval, cc::CCThread* thread)
{
return adoptRef(new FakeCCDelayBasedTimeSource(interval, thread));
}
@@ -118,16 +118,16 @@ public:
virtual double monotonicTimeNow() const OVERRIDE { return m_monotonicTimeNow; }
protected:
- FakeCCDelayBasedTimeSource(double interval, WebCore::CCThread* thread)
+ FakeCCDelayBasedTimeSource(double interval, cc::CCThread* thread)
: CCDelayBasedTimeSource(interval, thread)
, m_monotonicTimeNow(0) { }
double m_monotonicTimeNow;
};
-class FakeCCFrameRateController : public WebCore::CCFrameRateController {
+class FakeCCFrameRateController : public cc::CCFrameRateController {
public:
- FakeCCFrameRateController(PassRefPtr<WebCore::CCTimeSource> timer) : WebCore::CCFrameRateController(timer) { }
+ FakeCCFrameRateController(PassRefPtr<cc::CCTimeSource> timer) : cc::CCFrameRateController(timer) { }
int numFramesPending() const { return m_numFramesPending; }
};
« no previous file with comments | « cc/test/CCOcclusionTrackerTestCommon.h ('k') | cc/test/CCTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698