From 180d0acbeadc434f7a855442e5f4a2c7bcc89d5a Mon Sep 17 00:00:00 2001 From: "chase@chromium.org" Date: Thu, 12 Nov 2009 01:02:01 +0000 Subject: Add a RWH_TabSwitchPaintDuration histogram. The RWH_TabSwitchPaintDuration histogram calculates the amount of time it took after a particular view was selected for it to be fully painted. Previous versions of this patch included modifications to the tab switching test. Those are blocked on setting up a new builder for accurate measurement and are now removed from this CL. BUG=4104 TEST=none Commit: http://src.chromium.org/viewvc/chrome?view=rev&revision=31632 Revert: http://src.chromium.org/viewvc/chrome?view=rev&revision=31645 Commit: http://src.chromium.org/viewvc/chrome?view=rev&revision=31679 Revert: http://src.chromium.org/viewvc/chrome?view=rev&revision=31683 Review URL: http://codereview.chromium.org/378038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31747 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/renderer_host/render_widget_host_view_mac.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/renderer_host/render_widget_host_view_mac.h') diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.h b/chrome/browser/renderer_host/render_widget_host_view_mac.h index 9d6ffbb..67c8abf 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.h +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.h @@ -140,6 +140,9 @@ class RenderWidgetHostViewMac : public RenderWidgetHostView { // value returns true for is_null() if we are not recording whiteout times. base::TimeTicks whiteout_start_time_; + // The time it took after this view was selected for it to be fully painted. + base::TimeTicks tab_switch_paint_time_; + // Variables used by our implementaion of the NSTextInput protocol. // An input method of Mac calls the methods of this protocol not only to // notify an application of its status, but also to retrieve the status of -- cgit v1.1