diff options
| author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 01:02:01 +0000 |
|---|---|---|
| committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 01:02:01 +0000 |
| commit | 180d0acbeadc434f7a855442e5f4a2c7bcc89d5a (patch) | |
| tree | dcd83a199567dad52f67a313edb3139b67956aa6 /chrome/browser/renderer_host/render_widget_host_view_mac.h | |
| parent | fac41f0f15d55fae67d6a1a149585c1682cc9bf9 (diff) | |
| download | chromium_src-180d0acbeadc434f7a855442e5f4a2c7bcc89d5a.zip chromium_src-180d0acbeadc434f7a855442e5f4a2c7bcc89d5a.tar.gz chromium_src-180d0acbeadc434f7a855442e5f4a2c7bcc89d5a.tar.bz2 | |
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
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_mac.h')
| -rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_mac.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
