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

Unified Diff: cc/heads_up_display_layer.h

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed hasFontAtlas methods, put DCHECKs in HUDLayerImpl 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
« no previous file with comments | « no previous file | cc/heads_up_display_layer.cc » ('j') | cc/heads_up_display_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/heads_up_display_layer.h
diff --git a/cc/heads_up_display_layer.h b/cc/heads_up_display_layer.h
index 23d514bdf942dcc6e062c5ef14af1df058d5ae35..3774b220ba7daa118e702b750dec6c7f0ecdbd7c 100644
--- a/cc/heads_up_display_layer.h
+++ b/cc/heads_up_display_layer.h
@@ -20,6 +20,7 @@ public:
virtual bool drawsContent() const OVERRIDE;
void setFontAtlas(scoped_ptr<FontAtlas>);
+ void setShowFPSCounter(bool);
virtual scoped_ptr<LayerImpl> createLayerImpl() OVERRIDE;
virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
@@ -31,6 +32,7 @@ private:
virtual ~HeadsUpDisplayLayer();
scoped_ptr<FontAtlas> m_fontAtlas;
+ bool m_showFPSCounter;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/heads_up_display_layer.cc » ('j') | cc/heads_up_display_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698