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

Unified Diff: ui/views/focus/widget_focus_manager.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/focus/view_storage.cc ('k') | ui/views/focus/widget_focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/widget_focus_manager.h
diff --git a/ui/views/focus/widget_focus_manager.h b/ui/views/focus/widget_focus_manager.h
index f87814a3047fe9e5b7465f42047434cea7f02265..1a25b6d85d4f5d01a3f371b40b6730c7013df477 100644
--- a/ui/views/focus/widget_focus_manager.h
+++ b/ui/views/focus/widget_focus_manager.h
@@ -10,7 +10,9 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
namespace views {
@@ -48,7 +50,7 @@ class VIEWS_EXPORT WidgetFocusManager {
void DisableNotifications() { enabled_ = false; }
private:
- friend struct DefaultSingletonTraits<WidgetFocusManager>;
+ friend struct base::DefaultSingletonTraits<WidgetFocusManager>;
WidgetFocusManager();
~WidgetFocusManager();
« no previous file with comments | « ui/views/focus/view_storage.cc ('k') | ui/views/focus/widget_focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698