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

Unified Diff: cc/content_layer.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
Index: cc/content_layer.h
diff --git a/cc/content_layer.h b/cc/content_layer.h
index 991ff6577d69c6e6f030787ac8ae472c9c98effe..12cafa476ba5930581ed218d27936c0574d5ecbe 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;
};
« cc/active_animation.h ('K') | « cc/completion_event.h ('k') | cc/content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698