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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 378038: Add a RWH_TabSwitchPaintDuration histogram. (Closed)
Patch Set: remove tab switching test changes Created 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // The time at which this view started displaying white pixels as a result of 283 // The time at which this view started displaying white pixels as a result of
284 // not having anything to paint (empty backing store from renderer). This 284 // not having anything to paint (empty backing store from renderer). This
285 // value returns true for is_null() if we are not recording whiteout times. 285 // value returns true for is_null() if we are not recording whiteout times.
286 base::TimeTicks whiteout_start_time_; 286 base::TimeTicks whiteout_start_time_;
287 287
288 // Whether the renderer is made accessible. 288 // Whether the renderer is made accessible.
289 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around 289 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around
290 // until that bug is fixed. 290 // until that bug is fixed.
291 bool renderer_accessible_; 291 bool renderer_accessible_;
292 292
293 // The time it took after this view was selected for it to be fully painted.
294 base::TimeTicks tab_switch_paint_time_;
295
293 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 296 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
294 }; 297 };
295 298
296 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 299 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698