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

Unified Diff: chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 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/gtk/infobars/link_infobar_gtk.cc
diff --git a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc b/chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc
index b64b55603649ed181dd005889bac1191e19918e2..fe8b677277c1f88c07d77cfdf1663d3e71e84159 100644
--- a/chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc
+++ b/chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc
@@ -5,12 +5,13 @@
#include "chrome/browser/ui/gtk/infobars/link_infobar_gtk.h"
#include "chrome/browser/api/infobars/link_infobar_delegate.h"
+#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/ui/gtk/event_utils.h"
// LinkInfoBarDelegate ---------------------------------------------------------
-InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
- return new LinkInfoBarGtk(owner, this);
+InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) {
+ return new LinkInfoBarGtk(static_cast<InfoBarTabHelper*>(owner), this);
}
// LinkInfoBarGtk --------------------------------------------------------------
« no previous file with comments | « chrome/browser/ui/gtk/infobars/link_infobar_gtk.h ('k') | chrome/browser/ui/gtk/infobars/media_stream_infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698