Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_controller.mm

Issue 7006010: Change InfoBar-related notifications to be sourced from a TabContentsWrapper, not a TabContents. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/infobars/infobar_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_controller.mm (revision 87541)
+++ chrome/browser/ui/cocoa/infobars/infobar_controller.mm (working copy)
@@ -509,11 +509,11 @@
InfoBar* LinkInfoBarDelegate::CreateInfoBar(TabContentsWrapper* owner) {
LinkInfoBarController* controller =
[[LinkInfoBarController alloc] initWithDelegate:this];
- return new InfoBar(controller);
+ return new InfoBar(controller, this);
}
InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(TabContentsWrapper* owner) {
ConfirmInfoBarController* controller =
[[ConfirmInfoBarController alloc] initWithDelegate:this];
- return new InfoBar(controller);
+ return new InfoBar(controller, this);
}

Powered by Google App Engine
This is Rietveld 408576698