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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm

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/cocoa/infobars/infobar_container_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm b/chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm
index 969b18e419f482b2345987f7a19eb232ec6fa56d..cd9c907017ab12c90fffe476afc98f5bb54f589e 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.mm
@@ -9,7 +9,7 @@
InfoBarContainerCocoa::InfoBarContainerCocoa(
InfoBarContainerController* controller)
- : InfoBarContainer(this),
+ : infobars::InfoBarContainer(this),
controller_(controller) {
}
@@ -17,13 +17,15 @@ InfoBarContainerCocoa::~InfoBarContainerCocoa() {
RemoveAllInfoBarsForDestruction();
}
-void InfoBarContainerCocoa::PlatformSpecificAddInfoBar(InfoBar* infobar,
- size_t position) {
+void InfoBarContainerCocoa::PlatformSpecificAddInfoBar(
+ infobars::InfoBar* infobar,
+ size_t position) {
InfoBarCocoa* infobar_cocoa = static_cast<InfoBarCocoa*>(infobar);
[controller_ addInfoBar:infobar_cocoa position:position];
}
-void InfoBarContainerCocoa::PlatformSpecificRemoveInfoBar(InfoBar* infobar) {
+void InfoBarContainerCocoa::PlatformSpecificRemoveInfoBar(
+ infobars::InfoBar* infobar) {
InfoBarCocoa* infobar_cocoa = static_cast<InfoBarCocoa*>(infobar);
[controller_ removeInfoBar:infobar_cocoa];
}

Powered by Google App Engine
This is Rietveld 408576698