diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 21:22:42 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 21:22:42 +0000 |
commit | c753e25a8b4366c44134a8c21b9ed3392bf48608 (patch) | |
tree | f378c8a762caccf60856a1670ae33dfd638b9453 /cc/proxy.h | |
parent | 503160f80568f024fa712e280bb1a4e1e6ca1ec3 (diff) | |
download | chromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.zip chromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.tar.gz chromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.tar.bz2 |
Revert "cc: Rename cc classes and members to match filenames"
This reverts commit 184fac5add06d5f4670fa6be4a4d3b39232d51bb.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/proxy.h')
-rw-r--r-- | cc/proxy.h | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -11,27 +11,27 @@ namespace cc { -class Thread; +class CCThread; class IntRect; class IntSize; -struct RenderingStats; +struct CCRenderingStats; struct RendererCapabilities; // Abstract class responsible for proxying commands from the main-thread side of // the compositor over to the compositor implementation. -class Proxy { +class CCProxy { public: - static void setMainThread(Thread*); - static Thread* mainThread(); + static void setMainThread(CCThread*); + static CCThread* mainThread(); static bool hasImplThread(); - static void setImplThread(Thread*); - static Thread* implThread(); + static void setImplThread(CCThread*); + static CCThread* implThread(); // Returns 0 if the current thread is neither the main thread nor the impl thread. - static Thread* currentThread(); + static CCThread* currentThread(); - virtual ~Proxy(); + virtual ~CCProxy(); virtual bool compositeAndReadback(void *pixels, const IntRect&) = 0; @@ -57,7 +57,7 @@ public: // reinitialized. virtual bool recreateContext() = 0; - virtual void renderingStats(RenderingStats*) = 0; + virtual void renderingStats(CCRenderingStats*) = 0; virtual const RendererCapabilities& rendererCapabilities() const = 0; @@ -97,12 +97,12 @@ public: #endif protected: - Proxy(); + CCProxy(); friend class DebugScopedSetImplThread; friend class DebugScopedSetMainThreadBlocked; private: - DISALLOW_COPY_AND_ASSIGN(Proxy); + DISALLOW_COPY_AND_ASSIGN(CCProxy); }; class DebugScopedSetMainThreadBlocked { @@ -110,15 +110,15 @@ public: DebugScopedSetMainThreadBlocked() { #ifndef NDEBUG - DCHECK(!Proxy::isMainThreadBlocked()); - Proxy::setMainThreadBlocked(true); + DCHECK(!CCProxy::isMainThreadBlocked()); + CCProxy::setMainThreadBlocked(true); #endif } ~DebugScopedSetMainThreadBlocked() { #ifndef NDEBUG - DCHECK(Proxy::isMainThreadBlocked()); - Proxy::setMainThreadBlocked(false); + DCHECK(CCProxy::isMainThreadBlocked()); + CCProxy::setMainThreadBlocked(false); #endif } }; |