summaryrefslogtreecommitdiffstats
path: root/cc/heads_up_display_layer_impl.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 10:17:34 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 10:17:34 +0000
commit7aba66652cf8fe7e131d4638d00b574fc05526ee (patch)
tree0a1012dc37172ff9b276679c55d77c38c111f37a /cc/heads_up_display_layer_impl.h
parentb2720f159750fd54728b7ec0b9da8baed9ec4a83 (diff)
downloadchromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.zip
chromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.tar.gz
chromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.tar.bz2
cc: Chromify Layer and LayerImpl classes.
Style-only change. Bring the Layer and LayerImpl classes into the Chromium style. R=enne,piman,jamesr TBR=joth Review URL: https://chromiumcodereview.appspot.com/12774006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/heads_up_display_layer_impl.h')
-rw-r--r--cc/heads_up_display_layer_impl.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/cc/heads_up_display_layer_impl.h b/cc/heads_up_display_layer_impl.h
index 94c3400..c09c453 100644
--- a/cc/heads_up_display_layer_impl.h
+++ b/cc/heads_up_display_layer_impl.h
@@ -25,22 +25,23 @@ class PaintTimeCounter;
class CC_EXPORT HeadsUpDisplayLayerImpl : public LayerImpl {
public:
- static scoped_ptr<HeadsUpDisplayLayerImpl> create(LayerTreeImpl* treeImpl, int id)
+ static scoped_ptr<HeadsUpDisplayLayerImpl> Create(LayerTreeImpl* treeImpl, int id)
{
return make_scoped_ptr(new HeadsUpDisplayLayerImpl(treeImpl, id));
}
virtual ~HeadsUpDisplayLayerImpl();
- virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
+ virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
- virtual void willDraw(ResourceProvider*) OVERRIDE;
- virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
- void updateHudTexture(ResourceProvider*);
- virtual void didDraw(ResourceProvider*) OVERRIDE;
+ virtual void WillDraw(ResourceProvider*) OVERRIDE;
+ virtual void AppendQuads(QuadSink* quad_sink,
+ AppendQuadsData* append_quads_data) OVERRIDE;
+ void updateHudTexture(ResourceProvider* resource_provider);
+ virtual void DidDraw(ResourceProvider* resource_provider) OVERRIDE;
- virtual void didLoseOutputSurface() OVERRIDE;
+ virtual void DidLoseOutputSurface() OVERRIDE;
- virtual bool layerIsAlwaysDamaged() const OVERRIDE;
+ virtual bool LayerIsAlwaysDamaged() const OVERRIDE;
private:
class Graph {
@@ -62,7 +63,7 @@ private:
HeadsUpDisplayLayerImpl(LayerTreeImpl* treeImpl, int id);
- virtual const char* layerTypeAsString() const OVERRIDE;
+ virtual const char* LayerTypeAsString() const OVERRIDE;
void updateHudContents();
void drawHudContents(SkCanvas* canvas) const;