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

Unified Diff: content/renderer/render_widget.h

Issue 10818038: Make GPU benchmarking numAnimationFrames and totalPaintTime work in software mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial commit. Created 8 years, 5 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: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index c8bea54ce74d9b3f23b3bd768410b6e54f5ad31b..7da35a8a778e359934680ffb9fa770746f9a1c14 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -42,6 +42,7 @@ namespace WebKit {
class WebMouseEvent;
class WebTouchEvent;
class WebWidget;
+struct WebRenderingStats;
}
namespace content {
@@ -152,6 +153,8 @@ class CONTENT_EXPORT RenderWidget
// pending moves don't try to reference it.
void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window);
nduca 2012/07/25 17:14:04 // Comment?
dtu 2012/07/27 01:40:48 Done.
+ void GetRenderingStats(WebKit::WebRenderingStats&) const;
+
// Directs the host to begin a smooth scroll. This scroll should have the same
// performance characteristics as a user-initiated scroll.
void BeginSmoothScroll(bool scroll_down, bool scroll_far);
@@ -542,6 +545,7 @@ class CONTENT_EXPORT RenderWidget
bool has_disable_gpu_vsync_switch_;
base::TimeTicks last_do_deferred_update_time_;
+ int total_do_deferred_update_count_;
// UpdateRect parameters for the current compositing pass. This is used to
// pass state between DoDeferredUpdate and OnSwapBuffersPosted.

Powered by Google App Engine
This is Rietveld 408576698