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

Unified Diff: components/infobars/core/infobar.h

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/README ('k') | components/infobars/core/infobar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar.h
diff --git a/chrome/browser/infobars/infobar.h b/components/infobars/core/infobar.h
similarity index 96%
rename from chrome/browser/infobars/infobar.h
rename to components/infobars/core/infobar.h
index 86d2b596c613b4c7203db292dfd18addb62800f6..ba4c21c481353ce79af1cbef35e633d341d4a821 100644
--- a/chrome/browser/infobars/infobar.h
+++ b/components/infobars/core/infobar.h
@@ -2,18 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_INFOBARS_INFOBAR_H_
-#define CHROME_BROWSER_INFOBARS_INFOBAR_H_
+#ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_H_
+#define COMPONENTS_INFOBARS_CORE_INFOBAR_H_
#include <utility>
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/infobars/infobar_delegate.h"
+#include "components/infobars/core/infobar_delegate.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/animation/slide_animation.h"
#include "ui/gfx/size.h"
+namespace infobars {
+
class InfoBarContainer;
class InfoBarManager;
@@ -146,4 +148,6 @@ class InfoBar : public gfx::AnimationDelegate {
DISALLOW_COPY_AND_ASSIGN(InfoBar);
};
-#endif // CHROME_BROWSER_INFOBARS_INFOBAR_H_
+} // namespace infobars
+
+#endif // COMPONENTS_INFOBARS_CORE_INFOBAR_H_
« no previous file with comments | « components/infobars/README ('k') | components/infobars/core/infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698