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

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.cc

Issue 6989001: Misc. infobar stuff: (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/views/infobars/confirm_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/confirm_infobar.cc (revision 84698)
+++ chrome/browser/ui/views/infobars/confirm_infobar.cc (working copy)
@@ -12,14 +12,15 @@
// ConfirmInfoBarDelegate -----------------------------------------------------
-InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
- return new ConfirmInfoBar(this);
+InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(TabContents* owner) {
+ return new ConfirmInfoBar(owner, this);
}
// ConfirmInfoBar -------------------------------------------------------------
-ConfirmInfoBar::ConfirmInfoBar(ConfirmInfoBarDelegate* delegate)
- : InfoBarView(delegate),
+ConfirmInfoBar::ConfirmInfoBar(TabContents* owner,
+ ConfirmInfoBarDelegate* delegate)
+ : InfoBarView(owner, delegate),
label_(NULL),
ok_button_(NULL),
cancel_button_(NULL),

Powered by Google App Engine
This is Rietveld 408576698