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

Unified Diff: chrome/browser/ui/views/infobars/link_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/link_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/link_infobar.cc (revision 84698)
+++ chrome/browser/ui/views/infobars/link_infobar.cc (working copy)
@@ -11,14 +11,14 @@
// LinkInfoBarDelegate --------------------------------------------------------
-InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
- return new LinkInfoBar(this);
+InfoBar* LinkInfoBarDelegate::CreateInfoBar(TabContents* owner) {
+ return new LinkInfoBar(owner, this);
}
// LinkInfoBar ----------------------------------------------------------------
-LinkInfoBar::LinkInfoBar(LinkInfoBarDelegate* delegate)
- : InfoBarView(delegate),
+LinkInfoBar::LinkInfoBar(TabContents* owner, LinkInfoBarDelegate* delegate)
+ : InfoBarView(owner, delegate),
label_1_(NULL),
link_(NULL),
label_2_(NULL) {

Powered by Google App Engine
This is Rietveld 408576698