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

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

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 | « ui/views/accessibility/native_view_accessibility_auralinux.cc ('k') | ui/views/focus/view_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/view_storage.h
diff --git a/ui/views/focus/view_storage.h b/ui/views/focus/view_storage.h
index 5e36f3c5e9bcb678c78b895be293b7a9a3f2c1bd..f0f00b377b801f0ff1aaaeb44c9b9fb0a631fb04 100644
--- a/ui/views/focus/view_storage.h
+++ b/ui/views/focus/view_storage.h
@@ -11,7 +11,9 @@
#include "base/basictypes.h"
#include "ui/views/views_export.h"
+namespace base {
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
@@ -49,7 +51,7 @@ class VIEWS_EXPORT ViewStorage {
size_t view_count() const { return view_to_ids_.size(); }
private:
- friend struct DefaultSingletonTraits<ViewStorage>;
+ friend struct base::DefaultSingletonTraits<ViewStorage>;
ViewStorage();
~ViewStorage();
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_auralinux.cc ('k') | ui/views/focus/view_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698