summaryrefslogtreecommitdiffstats
path: root/cc/test/tiled_layer_test_common.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 21:22:42 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 21:22:42 +0000
commitc753e25a8b4366c44134a8c21b9ed3392bf48608 (patch)
treef378c8a762caccf60856a1670ae33dfd638b9453 /cc/test/tiled_layer_test_common.h
parent503160f80568f024fa712e280bb1a4e1e6ca1ec3 (diff)
downloadchromium_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/test/tiled_layer_test_common.h')
-rw-r--r--cc/test/tiled_layer_test_common.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/cc/test/tiled_layer_test_common.h b/cc/test/tiled_layer_test_common.h
index 1c0f75d..844688e 100644
--- a/cc/test/tiled_layer_test_common.h
+++ b/cc/test/tiled_layer_test_common.h
@@ -20,16 +20,16 @@
namespace WebKitTests {
-class FakeTiledLayer;
+class FakeTiledLayerChromium;
class FakeLayerTextureUpdater : public cc::LayerTextureUpdater {
public:
class Texture : public cc::LayerTextureUpdater::Texture {
public:
- Texture(FakeLayerTextureUpdater*, scoped_ptr<cc::PrioritizedTexture>);
+ Texture(FakeLayerTextureUpdater*, scoped_ptr<cc::CCPrioritizedTexture>);
virtual ~Texture();
- virtual void update(cc::TextureUpdateQueue&, const cc::IntRect&, const cc::IntSize&, bool, cc::RenderingStats&) OVERRIDE;
+ virtual void update(cc::CCTextureUpdateQueue&, const cc::IntRect&, const cc::IntSize&, bool, cc::CCRenderingStats&) OVERRIDE;
private:
FakeLayerTextureUpdater* m_layer;
@@ -38,13 +38,13 @@ public:
FakeLayerTextureUpdater();
- virtual scoped_ptr<cc::LayerTextureUpdater::Texture> createTexture(cc::PrioritizedTextureManager*) OVERRIDE;
+ virtual scoped_ptr<cc::LayerTextureUpdater::Texture> createTexture(cc::CCPrioritizedTextureManager*) OVERRIDE;
virtual SampledTexelFormat sampledTexelFormat(GLenum) OVERRIDE;
- virtual void prepareToUpdate(const cc::IntRect& contentRect, const cc::IntSize&, float, float, cc::IntRect& resultingOpaqueRect, cc::RenderingStats&) OVERRIDE;
+ virtual void prepareToUpdate(const cc::IntRect& contentRect, const cc::IntSize&, float, float, cc::IntRect& resultingOpaqueRect, cc::CCRenderingStats&) OVERRIDE;
// Sets the rect to invalidate during the next call to prepareToUpdate(). After the next
// call to prepareToUpdate() the rect is reset.
- void setRectToInvalidate(const cc::IntRect&, FakeTiledLayer*);
+ void setRectToInvalidate(const cc::IntRect&, FakeTiledLayerChromium*);
// Last rect passed to prepareToUpdate().
const cc::IntRect& lastUpdateRect() const { return m_lastUpdateRect; }
@@ -68,53 +68,53 @@ private:
cc::IntRect m_rectToInvalidate;
cc::IntRect m_lastUpdateRect;
cc::IntRect m_opaquePaintRect;
- scoped_refptr<FakeTiledLayer> m_layer;
+ scoped_refptr<FakeTiledLayerChromium> m_layer;
};
-class FakeTiledLayerImpl : public cc::TiledLayerImpl {
+class FakeCCTiledLayerImpl : public cc::CCTiledLayerImpl {
public:
- explicit FakeTiledLayerImpl(int id);
- virtual ~FakeTiledLayerImpl();
+ explicit FakeCCTiledLayerImpl(int id);
+ virtual ~FakeCCTiledLayerImpl();
- using cc::TiledLayerImpl::hasTileAt;
- using cc::TiledLayerImpl::hasResourceIdForTileAt;
+ using cc::CCTiledLayerImpl::hasTileAt;
+ using cc::CCTiledLayerImpl::hasResourceIdForTileAt;
};
-class FakeTiledLayer : public cc::TiledLayer {
+class FakeTiledLayerChromium : public cc::TiledLayerChromium {
public:
- explicit FakeTiledLayer(cc::PrioritizedTextureManager*);
+ explicit FakeTiledLayerChromium(cc::CCPrioritizedTextureManager*);
static cc::IntSize tileSize() { return cc::IntSize(100, 100); }
- using cc::TiledLayer::invalidateContentRect;
- using cc::TiledLayer::needsIdlePaint;
- using cc::TiledLayer::skipsDraw;
- using cc::TiledLayer::numPaintedTiles;
- using cc::TiledLayer::idlePaintRect;
+ using cc::TiledLayerChromium::invalidateContentRect;
+ using cc::TiledLayerChromium::needsIdlePaint;
+ using cc::TiledLayerChromium::skipsDraw;
+ using cc::TiledLayerChromium::numPaintedTiles;
+ using cc::TiledLayerChromium::idlePaintRect;
virtual void setNeedsDisplayRect(const cc::FloatRect&) OVERRIDE;
const cc::FloatRect& lastNeedsDisplayRect() const { return m_lastNeedsDisplayRect; }
- virtual void setTexturePriorities(const cc::PriorityCalculator&) OVERRIDE;
+ virtual void setTexturePriorities(const cc::CCPriorityCalculator&) OVERRIDE;
- virtual cc::PrioritizedTextureManager* textureManager() const OVERRIDE;
+ virtual cc::CCPrioritizedTextureManager* textureManager() const OVERRIDE;
FakeLayerTextureUpdater* fakeLayerTextureUpdater() { return m_fakeTextureUpdater.get(); }
cc::FloatRect updateRect() { return m_updateRect; }
protected:
virtual cc::LayerTextureUpdater* textureUpdater() const OVERRIDE;
virtual void createTextureUpdaterIfNeeded() OVERRIDE { }
- virtual ~FakeTiledLayer();
+ virtual ~FakeTiledLayerChromium();
private:
scoped_refptr<FakeLayerTextureUpdater> m_fakeTextureUpdater;
- cc::PrioritizedTextureManager* m_textureManager;
+ cc::CCPrioritizedTextureManager* m_textureManager;
cc::FloatRect m_lastNeedsDisplayRect;
};
-class FakeTiledLayerWithScaledBounds : public FakeTiledLayer {
+class FakeTiledLayerWithScaledBounds : public FakeTiledLayerChromium {
public:
- explicit FakeTiledLayerWithScaledBounds(cc::PrioritizedTextureManager*);
+ explicit FakeTiledLayerWithScaledBounds(cc::CCPrioritizedTextureManager*);
void setContentBounds(const cc::IntSize& contentBounds) { m_forcedContentBounds = contentBounds; }
virtual cc::IntSize contentBounds() const OVERRIDE;