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

Unified Diff: components/infobars/core/infobar_container.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 | « components/infobars/core/infobar_container.h ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_container.cc
diff --git a/chrome/browser/infobars/infobar_container.cc b/components/infobars/core/infobar_container.cc
similarity index 96%
rename from chrome/browser/infobars/infobar_container.cc
rename to components/infobars/core/infobar_container.cc
index b9526effabea18b76790928efb0bc9492afa750e..86dfd50392cc7e46618ce080c6a271a319f414a2 100644
--- a/chrome/browser/infobars/infobar_container.cc
+++ b/components/infobars/core/infobar_container.cc
@@ -2,17 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "build/build_config.h"
-
-#include "chrome/browser/infobars/infobar_container.h"
+#include "components/infobars/core/infobar_container.h"
#include <algorithm>
#include "base/logging.h"
-#include "chrome/browser/infobars/infobar.h"
-#include "chrome/browser/infobars/infobar_delegate.h"
+#include "build/build_config.h"
+#include "components/infobars/core/infobar.h"
+#include "components/infobars/core/infobar_delegate.h"
#include "ui/gfx/animation/slide_animation.h"
+namespace infobars {
+
InfoBarContainer::Delegate::~Delegate() {
}
@@ -173,3 +174,5 @@ int InfoBarContainer::ArrowTargetHeightForInfoBar(size_t infobar_index) const {
(InfoBar::kDefaultArrowTargetHeight - top_arrow_target_height_) *
first_infobar_animation.GetCurrentValue());
}
+
+} // namespace infobars
« no previous file with comments | « components/infobars/core/infobar_container.h ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698