Index: chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/infobars/infobar_controller.mm (revision 72676) |
+++ chrome/browser/ui/cocoa/infobars/infobar_controller.mm (working copy) |
@@ -338,25 +338,6 @@ |
///////////////////////////////////////////////////////////////////////// |
-// AlertInfoBarController implementation |
- |
-@implementation AlertInfoBarController |
- |
-// Alert infobars have a text message. |
-- (void)addAdditionalControls { |
- // No buttons. |
- [self removeButtons]; |
- |
- // Insert the text. |
- AlertInfoBarDelegate* delegate = delegate_->AsAlertInfoBarDelegate(); |
- DCHECK(delegate); |
- [self setLabelToMessage:base::SysUTF16ToNSString(delegate->GetMessageText())]; |
-} |
- |
-@end |
- |
- |
-///////////////////////////////////////////////////////////////////////// |
// LinkInfoBarController implementation |
@implementation LinkInfoBarController |
@@ -518,12 +499,6 @@ |
////////////////////////////////////////////////////////////////////////// |
// CreateInfoBar() implementations |
-InfoBar* AlertInfoBarDelegate::CreateInfoBar() { |
- AlertInfoBarController* controller = |
- [[AlertInfoBarController alloc] initWithDelegate:this]; |
- return new InfoBar(controller); |
-} |
- |
InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
LinkInfoBarController* controller = |
[[LinkInfoBarController alloc] initWithDelegate:this]; |