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

Unified Diff: cc/texture_layer.h

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 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
« no previous file with comments | « cc/test/tiled_layer_test_common.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_layer.h
diff --git a/cc/texture_layer.h b/cc/texture_layer.h
index d5c8a423408d4390b916e9e6f1673d65a171b2d2..7776811bb263282d63755d72e52d7867d0f36a75 100644
--- a/cc/texture_layer.h
+++ b/cc/texture_layer.h
@@ -26,14 +26,14 @@ 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<TextureLayer> create(TextureLayerClient*);
+ static scoped_refptr<TextureLayer> Create(TextureLayerClient*);
// Used when mailbox names are specified instead of texture IDs.
- static scoped_refptr<TextureLayer> createForMailbox();
+ static scoped_refptr<TextureLayer> CreateForMailbox();
void clearClient() { m_client = 0; }
- virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
+ virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
// Sets whether this texture should be Y-flipped at draw time. Defaults to true.
void setFlipped(bool);
@@ -60,15 +60,15 @@ public:
void willModifyTexture();
- virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
+ virtual void SetNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
- virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
- virtual bool drawsContent() const OVERRIDE;
- virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, RenderingStats*) OVERRIDE;
- virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
- virtual bool blocksPendingCommit() const OVERRIDE;
+ virtual void SetLayerTreeHost(LayerTreeHost*) OVERRIDE;
+ virtual bool DrawsContent() const OVERRIDE;
+ virtual void Update(ResourceUpdateQueue*, const OcclusionTracker*, RenderingStats*) OVERRIDE;
+ virtual void PushPropertiesTo(LayerImpl*) OVERRIDE;
+ virtual bool BlocksPendingCommit() const OVERRIDE;
- virtual bool canClipSelf() const OVERRIDE;
+ virtual bool CanClipSelf() const OVERRIDE;
protected:
TextureLayer(TextureLayerClient*, bool usesMailbox);
« no previous file with comments | « cc/test/tiled_layer_test_common.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698