| Index: chrome/browser/ui/views/infobars/infobars.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/infobars/infobars.cc (revision 72676)
|
| +++ chrome/browser/ui/views/infobars/infobars.cc (working copy)
|
| @@ -316,7 +316,7 @@
|
|
|
| // AlertInfoBar, public: -------------------------------------------------------
|
|
|
| -AlertInfoBar::AlertInfoBar(AlertInfoBarDelegate* delegate)
|
| +AlertInfoBar::AlertInfoBar(ConfirmInfoBarDelegate* delegate)
|
| : InfoBar(delegate) {
|
| label_ = new views::Label(
|
| UTF16ToWideHack(delegate->GetMessageText()),
|
| @@ -353,12 +353,6 @@
|
| OffsetY(this, text_ps), text_width, text_ps.height());
|
| }
|
|
|
| -// AlertInfoBar, private: ------------------------------------------------------
|
| -
|
| -AlertInfoBarDelegate* AlertInfoBar::GetDelegate() {
|
| - return delegate()->AsAlertInfoBarDelegate();
|
| -}
|
| -
|
| // LinkInfoBar, public: --------------------------------------------------------
|
|
|
| LinkInfoBar::LinkInfoBar(LinkInfoBarDelegate* delegate)
|
| @@ -598,12 +592,6 @@
|
| AddChildView(link_);
|
| }
|
|
|
| -// AlertInfoBarDelegate, InfoBarDelegate overrides: ----------------------------
|
| -
|
| -InfoBar* AlertInfoBarDelegate::CreateInfoBar() {
|
| - return new AlertInfoBar(this);
|
| -}
|
| -
|
| // LinkInfoBarDelegate, InfoBarDelegate overrides: -----------------------------
|
|
|
| InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
|
|
|