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

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

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/infobars/confirm_infobar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
index d28c4dcf320cf070a2fffe74ad28f90b7c77cf33..a6cdf99fe3120fa06d58df482714495ff0eb896f 100644
--- a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
@@ -15,9 +15,10 @@
// AlternateNavInfoBarDelegate -------------------------------------------------
// static
-scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
+scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
scoped_ptr<AlternateNavInfoBarDelegate> delegate) {
- return scoped_ptr<InfoBar>(new AlternateNavInfoBarView(delegate.Pass()));
+ return scoped_ptr<infobars::InfoBar>(
+ new AlternateNavInfoBarView(delegate.Pass()));
}
@@ -25,11 +26,10 @@ scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
AlternateNavInfoBarView::AlternateNavInfoBarView(
scoped_ptr<AlternateNavInfoBarDelegate> delegate)
- : InfoBarView(delegate.PassAs<InfoBarDelegate>()),
+ : InfoBarView(delegate.PassAs<infobars::InfoBarDelegate>()),
label_1_(NULL),
link_(NULL),
- label_2_(NULL) {
-}
+ label_2_(NULL) {}
AlternateNavInfoBarView::~AlternateNavInfoBarView() {
}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/infobars/confirm_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698