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

Unified Diff: chrome/browser/ui/views/infobars/extension_infobar.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
Index: chrome/browser/ui/views/infobars/extension_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/extension_infobar.cc b/chrome/browser/ui/views/infobars/extension_infobar.cc
index bb29708d36c3c7c22461c4da1f7e9b9b1d311dcf..f7e617f41ac1bbe0bc3ed1b4b01b0046dfadaed3 100644
--- a/chrome/browser/ui/views/infobars/extension_infobar.cc
+++ b/chrome/browser/ui/views/infobars/extension_infobar.cc
@@ -30,10 +30,11 @@
// ExtensionInfoBarDelegate ----------------------------------------------------
// static
-scoped_ptr<InfoBar> ExtensionInfoBarDelegate::CreateInfoBar(
+scoped_ptr<infobars::InfoBar> ExtensionInfoBarDelegate::CreateInfoBar(
scoped_ptr<ExtensionInfoBarDelegate> delegate) {
Browser* browser = delegate->browser_;
- return scoped_ptr<InfoBar>(new ExtensionInfoBar(delegate.Pass(), browser));
+ return scoped_ptr<infobars::InfoBar>(
+ new ExtensionInfoBar(delegate.Pass(), browser));
}
@@ -84,7 +85,7 @@ class MenuImageSource: public gfx::CanvasImageSource {
ExtensionInfoBar::ExtensionInfoBar(
scoped_ptr<ExtensionInfoBarDelegate> delegate,
Browser* browser)
- : InfoBarView(delegate.PassAs<InfoBarDelegate>()),
+ : InfoBarView(delegate.PassAs<infobars::InfoBarDelegate>()),
browser_(browser),
infobar_icon_(NULL),
icon_as_menu_(NULL),
« no previous file with comments | « chrome/browser/ui/views/infobars/confirm_infobar.cc ('k') | chrome/browser/ui/views/infobars/infobar_background.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698