diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 23:58:58 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 23:58:58 +0000 |
commit | 70b1f803bad74bc90a5586af96534c2b4f9a65cc (patch) | |
tree | 4e7753e6c9c0a4a9cdf583f4868b766fc1b453fd /chrome/browser/download/download_request_infobar_delegate.h | |
parent | 13786dd536bb42858d03db754b0dfe39a749a47f (diff) | |
download | chromium_src-70b1f803bad74bc90a5586af96534c2b4f9a65cc.zip chromium_src-70b1f803bad74bc90a5586af96534c2b4f9a65cc.tar.gz chromium_src-70b1f803bad74bc90a5586af96534c2b4f9a65cc.tar.bz2 |
Cleanup:
* Remove AlertInfoBarDelegate. There are basically no users of this (the only one is in autofill which is really trying to make something like a confirm info bar).
* Change the default button set for a ConfirmInfoBarDelegate from 0 buttons to 2 to match how practically every caller uses it.
Note that this doesn't remove views' AlertInfoBar yet. AlertInfoBar is now only used as a base for ConfirmInfoBar, but actually moving that functionality into ConfirmInfoBar is to come in a subsequent patch.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6262018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_request_infobar_delegate.h')
-rw-r--r-- | chrome/browser/download/download_request_infobar_delegate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/download/download_request_infobar_delegate.h b/chrome/browser/download/download_request_infobar_delegate.h index 9b1092c..60d2132 100644 --- a/chrome/browser/download/download_request_infobar_delegate.h +++ b/chrome/browser/download/download_request_infobar_delegate.h @@ -33,7 +33,6 @@ class DownloadRequestInfoBarDelegate : public ConfirmInfoBarDelegate { virtual void InfoBarClosed(); virtual SkBitmap* GetIcon() const; virtual string16 GetMessageText() const; - virtual int GetButtons() const; virtual string16 GetButtonLabel(InfoBarButton button) const; virtual bool Accept(); virtual bool Cancel(); |