diff options
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index c5e2027..d804bc1 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -180,6 +180,12 @@ class BrowserWindow { // indicating that it's time to redraw everything. virtual void UserChangedTheme() = 0; + // Get extra vertical height that the render view should add to its requests + // to webkit. This can help prevent sending extraneous layout/repaint requests + // when the delegate is in the process of resizing the tab contents view (e.g. + // during infobar animations). + virtual int GetExtraRenderViewHeight() const = 0; + // Construct a BrowserWindow implementation for the specified |browser|. static BrowserWindow* CreateBrowserWindow(Browser* browser); |