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 |