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

Unified Diff: ui/base/x/x11_foreign_window_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/base/win/hwnd_subclass.cc ('k') | ui/base/x/x11_foreign_window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_foreign_window_manager.h
diff --git a/ui/base/x/x11_foreign_window_manager.h b/ui/base/x/x11_foreign_window_manager.h
index 354cfba6d82be98c068a1dd88ebf48d2e3edc73f..a9167b15598c5d41980515e6568b6c09f59be28e 100644
--- a/ui/base/x/x11_foreign_window_manager.h
+++ b/ui/base/x/x11_foreign_window_manager.h
@@ -15,7 +15,9 @@
// A process wide singleton for selecting events on X windows which were not
// created by Chrome.
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
namespace ui {
@@ -39,7 +41,7 @@ class UI_BASE_EXPORT XForeignWindowManager {
void OnWindowDestroyed(XID xid);
private:
- friend struct DefaultSingletonTraits<XForeignWindowManager>;
+ friend struct base::DefaultSingletonTraits<XForeignWindowManager>;
struct Request {
Request(int request_id, long entry_event_mask);
« no previous file with comments | « ui/base/win/hwnd_subclass.cc ('k') | ui/base/x/x11_foreign_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698