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

Unified Diff: components/infobars/core/infobar_delegate.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/core/infobar_container.cc ('k') | components/infobars/core/infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_delegate.h
diff --git a/chrome/browser/infobars/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
similarity index 96%
rename from chrome/browser/infobars/infobar_delegate.h
rename to components/infobars/core/infobar_delegate.h
index 05126e167997b71e50d519fefd0c089d4828987a..f1e033806046ec89e3c2fc5a8d3dc51931692b44 100644
--- a/chrome/browser/infobars/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -2,8 +2,8 @@
// 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_DELEGATE_H_
-#define CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_
+#ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
+#define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
#include "base/basictypes.h"
#include "base/strings/string16.h"
@@ -12,7 +12,6 @@
class AutoLoginInfoBarDelegate;
class ConfirmInfoBarDelegate;
class ExtensionInfoBarDelegate;
-class InfoBar;
class InsecureContentInfoBarDelegate;
class MediaStreamInfoBarDelegate;
class PopupBlockedInfoBarDelegate;
@@ -26,6 +25,10 @@ namespace gfx {
class Image;
}
+namespace infobars {
+
+class InfoBar;
+
// An interface implemented by objects wishing to control an InfoBar.
// Implementing this interface is not sufficient to use an InfoBar, since it
// does not map to a specific InfoBar type. Instead, you must implement
@@ -140,4 +143,6 @@ class InfoBarDelegate {
DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate);
};
-#endif // CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_
+} // namespace infobars
+
+#endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
« no previous file with comments | « components/infobars/core/infobar_container.cc ('k') | components/infobars/core/infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698