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

Unified Diff: cc/texture_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/texture_layer.h
diff --git a/cc/texture_layer.h b/cc/texture_layer.h
index b1d5b9ff755f80592948a74a55ad09c2e3f32c5a..f72282f62fde689ed38a9da06928c62b78ff9ace 100644
--- a/cc/texture_layer.h
+++ b/cc/texture_layer.h
@@ -13,19 +13,19 @@ class WebGraphicsContext3D;
namespace cc {
-class TextureLayerChromiumClient;
+class TextureLayerClient;
// A Layer containing a the rendered output of a plugin instance.
-class TextureLayerChromium : public LayerChromium {
+class TextureLayer : public Layer {
public:
// If this texture layer requires special preparation logic for each frame driven by
// the compositor, pass in a non-nil client. Pass in a nil client pointer if texture updates
// are driven by an external process.
- static scoped_refptr<TextureLayerChromium> create(TextureLayerChromiumClient*);
+ static scoped_refptr<TextureLayer> create(TextureLayerClient*);
void clearClient() { m_client = 0; }
- virtual scoped_ptr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
+ virtual scoped_ptr<LayerImpl> createLayerImpl() OVERRIDE;
// Sets whether this texture should be Y-flipped at draw time. Defaults to true.
void setFlipped(bool);
@@ -48,17 +48,17 @@ public:
virtual void setNeedsDisplayRect(const FloatRect&) OVERRIDE;
- virtual void setLayerTreeHost(CCLayerTreeHost*) OVERRIDE;
+ virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
virtual bool drawsContent() const OVERRIDE;
- virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRenderingStats&) OVERRIDE;
- virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
+ virtual void update(TextureUpdateQueue&, const OcclusionTracker*, RenderingStats&) OVERRIDE;
+ virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
protected:
- explicit TextureLayerChromium(TextureLayerChromiumClient*);
- virtual ~TextureLayerChromium();
+ explicit TextureLayer(TextureLayerClient*);
+ virtual ~TextureLayer();
private:
- TextureLayerChromiumClient* m_client;
+ TextureLayerClient* m_client;
bool m_flipped;
FloatRect m_uvRect;
« cc/active_animation.h ('K') | « cc/texture_draw_quad.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698