summaryrefslogtreecommitdiffstats
path: root/cc/content_layer.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
commit96baf3e81b1df4b0836d70c3cded9795e63fa789 (patch)
tree4332d128a05777ae34641ca2f185b7b548330b8d /cc/content_layer.h
parent1597399122fa6d8343dc6d5cdb771f95908c09b1 (diff)
downloadchromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.zip
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.gz
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.bz2
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
Diffstat (limited to 'cc/content_layer.h')
-rw-r--r--cc/content_layer.h24
1 files changed, 12 insertions, 12 deletions
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<ContentLayerPainter> create(ContentLayerChromiumClient*);
+ static scoped_ptr<ContentLayerPainter> 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<ContentLayerChromium> create(ContentLayerChromiumClient*);
+ static scoped_refptr<ContentLayer> 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<LayerTextureUpdater> m_textureUpdater;
};