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

Unified Diff: cc/layer_tree_host.h

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 7cb63f88ecb7f6d1a91679bea3aced28d32b9dff..af4403f97d0d25c9b8773f7f0d5a83d2d73fc26b 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -203,6 +203,8 @@ public:
HeadsUpDisplayLayerChromium* hudLayer() const { return m_hudLayer.get(); }
+ void setShowFPSCounter(bool show);
+
protected:
CCLayerTreeHost(CCLayerTreeHostClient*, const CCLayerTreeSettings&);
bool initialize();
@@ -256,6 +258,8 @@ private:
bool m_visible;
+ bool m_showFPSCounter;
+
typedef base::hash_map<WebKit::WebGraphicsContext3D*, scoped_refptr<RateLimiter> > RateLimiterMap;
RateLimiterMap m_rateLimiters;

Powered by Google App Engine
This is Rietveld 408576698