Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/ui/cocoa/infobars/

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://
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
Index: chrome/browser/ui/cocoa/infobars/
diff --git a/chrome/browser/ui/cocoa/infobars/ b/chrome/browser/ui/cocoa/infobars/
index 6373d98b878beb62725c0f0c2707ebb4331173da..cb52a9c53dfe2b79acf7c17ebd3a41ed9c5edfb6 100644
--- a/chrome/browser/ui/cocoa/infobars/
+++ b/chrome/browser/ui/cocoa/infobars/
@@ -138,12 +138,12 @@
// static
-scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
+scoped_ptr<infobars::InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate) {
scoped_ptr<InfoBarCocoa> infobar(
- new InfoBarCocoa(delegate.PassAs<InfoBarDelegate>()));
+ new InfoBarCocoa(delegate.PassAs<infobars::InfoBarDelegate>()));
base::scoped_nsobject<ConfirmInfoBarController> controller(
[[ConfirmInfoBarController alloc] initWithInfoBar:infobar.get()]);
- return infobar.PassAs<InfoBar>();
+ return infobar.PassAs<infobars::InfoBar>();

Powered by Google App Engine
This is Rietveld 408576698