diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 21:52:48 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 21:52:48 +0000 |
commit | 0a2aeb81a06170cf4d99392b683736c46212f9ef (patch) | |
tree | 1c491dcbe56474ad5bbbd6da0cd47c75eca414d3 /chrome/browser/tab_contents/tab_contents_delegate.h | |
parent | 26ee7556422eb077a813c9a15a03867779bb8188 (diff) | |
download | chromium_src-0a2aeb81a06170cf4d99392b683736c46212f9ef.zip chromium_src-0a2aeb81a06170cf4d99392b683736c46212f9ef.tar.gz chromium_src-0a2aeb81a06170cf4d99392b683736c46212f9ef.tar.bz2 |
Linux: Take download shelf and infobar close animations into account during render view sizing.
http://crbug.com/11080
Review URL: http://codereview.chromium.org/113322
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_delegate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h index 3485fb8..4ba9553 100644 --- a/chrome/browser/tab_contents/tab_contents_delegate.h +++ b/chrome/browser/tab_contents/tab_contents_delegate.h @@ -167,6 +167,13 @@ class TabContentsDelegate { return false; } + // Return much extra vertical space should be allotted to the + // render view widget during various animations (e.g. infobar closing). + // This is used to make painting look smoother. + virtual int GetExtraRenderViewHeight() { + return 0; + } + protected: ~TabContentsDelegate() {} |