From 96baf3e81b1df4b0836d70c3cded9795e63fa789 Mon Sep 17 00:00:00 2001 From: "enne@chromium.org" Date: Mon, 22 Oct 2012 23:09:55 +0000 Subject: cc: Rename cc classes and members to match filenames Fixed reland of https://chromiumcodereview.appspot.com/11189043/ TBR=jam@chromium.org,jamesr@chromium.org BUG=155413 Review URL: https://codereview.chromium.org/11231054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163429 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/content_layer.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'cc/content_layer.h') diff --git a/cc/content_layer.h b/cc/content_layer.h index 991ff65..12cafa4 100644 --- a/cc/content_layer.h +++ b/cc/content_layer.h @@ -13,48 +13,48 @@ class SkCanvas; namespace cc { -class ContentLayerChromiumClient; +class ContentLayerClient; class FloatRect; class IntRect; class LayerTextureUpdater; -class ContentLayerPainter : public LayerPainterChromium { +class ContentLayerPainter : public LayerPainter { public: - static scoped_ptr create(ContentLayerChromiumClient*); + static scoped_ptr create(ContentLayerClient*); virtual void paint(SkCanvas*, const IntRect& contentRect, FloatRect& opaque) OVERRIDE; private: - explicit ContentLayerPainter(ContentLayerChromiumClient*); + explicit ContentLayerPainter(ContentLayerClient*); - ContentLayerChromiumClient* m_client; + ContentLayerClient* m_client; DISALLOW_COPY_AND_ASSIGN(ContentLayerPainter); }; // A layer that renders its contents into an SkCanvas. -class ContentLayerChromium : public TiledLayerChromium { +class ContentLayer : public TiledLayer { public: - static scoped_refptr create(ContentLayerChromiumClient*); + static scoped_refptr create(ContentLayerClient*); void clearClient() { m_client = 0; } virtual bool drawsContent() const OVERRIDE; - virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE; - virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRenderingStats&) OVERRIDE; + virtual void setTexturePriorities(const PriorityCalculator&) OVERRIDE; + virtual void update(TextureUpdateQueue&, const OcclusionTracker*, RenderingStats&) OVERRIDE; virtual bool needMoreUpdates() OVERRIDE; virtual void setContentsOpaque(bool) OVERRIDE; protected: - explicit ContentLayerChromium(ContentLayerChromiumClient*); - virtual ~ContentLayerChromium(); + explicit ContentLayer(ContentLayerClient*); + virtual ~ContentLayer(); private: virtual LayerTextureUpdater* textureUpdater() const OVERRIDE; virtual void createTextureUpdaterIfNeeded() OVERRIDE; - ContentLayerChromiumClient* m_client; + ContentLayerClient* m_client; scoped_refptr m_textureUpdater; }; -- cgit v1.1