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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 11312069: Plumbing for rendering stats subscriber. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ifdef for 3-sided patch Created 8 years, 1 month 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 | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_tree_view_impl.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h
index ae2e45df2695a18ad177138453a4881d8710b7fb..23ee379bd7ff57aedeb05f39212c0c0b0acf3d67 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -49,6 +49,10 @@ public:
virtual void finishAllRendering() OVERRIDE;
virtual void setDeferCommits(bool deferCommits) OVERRIDE;
virtual void renderingStats(WebRenderingStats&) const OVERRIDE;
+#ifdef RENDERING_STATS_SUBSCRIBER
+ virtual void startRecordingRenderingStats() const OVERRIDE { }
danakj 2012/11/02 21:15:19 If you land the webkit side first, and don't make
hartmanng 2012/11/05 16:09:30 Unless there's a strong consensus that this is the
+ virtual void stopRecordingRenderingStats(WebRenderingStats& stats) const OVERRIDE { }
+#endif /* ifdef RENDERING_STATS_SUBSCRIBER */
danakj 2012/11/02 21:15:19 nit: // RENDERING_STATS_SUBSCRIBER (c++ style)
hartmanng 2012/11/05 16:09:30 Done.
virtual void setFontAtlas(SkBitmap, WebRect asciiToRectTable[128], int fontHeight) OVERRIDE;
virtual void loseCompositorContext(int numTimes) OVERRIDE;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698