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

Unified Diff: ui/views/focus/view_storage.h

Issue 10795024: ui: Forward declare DefaultSingletonTraits in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: ui/views/focus/view_storage.h
diff --git a/ui/views/focus/view_storage.h b/ui/views/focus/view_storage.h
index fbfceeaaa9e2194d56f8a2681e32e5090c92f631..444e364b1be738458955ca3f87f95568b9ee22a8 100644
--- a/ui/views/focus/view_storage.h
+++ b/ui/views/focus/view_storage.h
@@ -5,8 +5,13 @@
#ifndef UI_VIEWS_FOCUS_VIEW_STORAGE_H_
#define UI_VIEWS_FOCUS_VIEW_STORAGE_H_
-#include "base/memory/singleton.h"
-#include "ui/views/view.h"
+#include <map>
+#include <vector>
+
+#include "base/basictypes.h"
+#include "ui/views/views_export.h"
+
+template <typename T> struct DefaultSingletonTraits;
// This class is a simple storage place for storing/retrieving views. It is
// used for example in the FocusManager to store/restore focused views when the
@@ -18,6 +23,7 @@
// to store/retrieve views.
namespace views {
+class View;
class VIEWS_EXPORT ViewStorage {
public:

Powered by Google App Engine
This is Rietveld 408576698