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

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: 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
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 42d4a49c6848ceb8e914d647cc2d960bd3a465bf..7d8d0e2c5d69914f49f6f1b989e1d80a3a3bb953 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 { }
+ virtual void stopRecordingRenderingStats(WebRenderingStats& stats) const OVERRIDE { }
+#endif // RENDERING_STATS_SUBSCRIBER
virtual void setFontAtlas(SkBitmap, WebRect asciiToRectTable[128], int fontHeight);
virtual void setFontAtlas(WebRect asciiToRectTable[128], const SkBitmap&, int fontHeight);
virtual void loseCompositorContext(int numTimes) OVERRIDE;
« content/renderer/gpu/gpu_benchmarking_extension.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698