diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 20:06:11 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 20:06:11 +0000 |
commit | ea127857621dd27718f34791e1ba103881a37257 (patch) | |
tree | c662558865b4f02ad945587e892fc91487c10b4b /views/window/dialog_delegate.h | |
parent | c0d9ebb8cd577f3040e0bf0a51b01f68d332f4e4 (diff) | |
download | chromium_src-ea127857621dd27718f34791e1ba103881a37257.zip chromium_src-ea127857621dd27718f34791e1ba103881a37257.tar.gz chromium_src-ea127857621dd27718f34791e1ba103881a37257.tar.bz2 |
Fixes bug in clear browsing data dialog where throbber would overlap
flash link.
BUG=35009
TEST=bring up clear browsing data, click clear browsing data and make
sure throbber doesn't overlap flash link.
Review URL: http://codereview.chromium.org/577054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/dialog_delegate.h')
-rw-r--r-- | views/window/dialog_delegate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/window/dialog_delegate.h b/views/window/dialog_delegate.h index 19c2a89..ebfde24 100644 --- a/views/window/dialog_delegate.h +++ b/views/window/dialog_delegate.h @@ -59,6 +59,12 @@ class DialogDelegate : public WindowDelegate { // up to the buttons. virtual View* GetExtraView() { return NULL; } + // Returns whether the height of the extra view should be at least as tall as + // the buttons. The default (false) is to give the extra view it's preferred + // height. By returning true the height becomes + // max(extra_view preferred height, buttons preferred height). + virtual bool GetSizeExtraViewHeightToButtons() { return false; } + // Returns the default dialog button. This should not be a mask as only // one button should ever be the default button. Return // MessageBoxFlags::DIALOGBUTTON_NONE if there is no default. Default |