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

Unified Diff: content/renderer/render_widget.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: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index eff42ccbb4abc8ab6acdfcc5fb638c70ea66b85b..cffa187be129dfb2bca51b99dbbb117c129281b3 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -153,6 +153,8 @@ class CONTENT_EXPORT RenderWidget
// This call is relatively expensive in threaded compositing mode,
// as it blocks on the compositor thread.
void GetRenderingStats(WebKit::WebRenderingStats&) const;
+ void StartRecordingRenderingStats() const { }
+ void StopRecordingRenderingStats(WebKit::WebRenderingStats&) const;
// Fills in a GpuRenderingStats struct containing information about
// GPU rendering, e.g. count of texture uploads performed, time spent

Powered by Google App Engine
This is Rietveld 408576698