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

Unified Diff: chrome/browser/ui/views/infobars/infobar_container_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
Index: chrome/browser/ui/views/infobars/infobar_container_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_container_view.cc b/chrome/browser/ui/views/infobars/infobar_container_view.cc
index ba84618f60e8f27620a80c2684e2232465859e0c..d3650768b1ec29c7e5625fdf2f214e4bde29dec0 100644
--- a/chrome/browser/ui/views/infobars/infobar_container_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_container_view.cc
@@ -14,7 +14,7 @@
const char InfoBarContainerView::kViewClassName[] = "InfoBarContainerView";
InfoBarContainerView::InfoBarContainerView(Delegate* delegate)
- : InfoBarContainer(delegate) {
+ : infobars::InfoBarContainer(delegate) {
set_id(VIEW_ID_INFO_BAR_CONTAINER);
}
@@ -52,12 +52,14 @@ void InfoBarContainerView::GetAccessibleState(ui::AXViewState* state) {
state->name = l10n_util::GetStringUTF16(IDS_ACCNAME_INFOBAR_CONTAINER);
}
-void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar,
- size_t position) {
+void InfoBarContainerView::PlatformSpecificAddInfoBar(
+ infobars::InfoBar* infobar,
+ size_t position) {
AddChildViewAt(static_cast<InfoBarView*>(infobar),
static_cast<int>(position));
}
-void InfoBarContainerView::PlatformSpecificRemoveInfoBar(InfoBar* infobar) {
+void InfoBarContainerView::PlatformSpecificRemoveInfoBar(
+ infobars::InfoBar* infobar) {
RemoveChildView(static_cast<InfoBarView*>(infobar));
}
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_container_view.h ('k') | chrome/browser/ui/views/infobars/infobar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698