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

Side by Side Diff: ui/base/x/work_area_watcher_x.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_X_WORK_AREA_WATCHER_X_H_ 5 #ifndef UI_BASE_X_WORK_AREA_WATCHER_X_H_
6 #define UI_BASE_X_WORK_AREA_WATCHER_X_H_ 6 #define UI_BASE_X_WORK_AREA_WATCHER_X_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/singleton.h"
10 #include "base/observer_list.h" 9 #include "base/observer_list.h"
11 #include "ui/base/ui_export.h" 10 #include "ui/base/ui_export.h"
12 #include "ui/base/x/x11_util.h" 11 #include "ui/base/x/x11_util.h"
13 12
13 template <typename T> struct DefaultSingletonTraits;
14
14 namespace ui { 15 namespace ui {
15 16
16 class WorkAreaWatcherObserver; 17 class WorkAreaWatcherObserver;
17 18
18 namespace internal { 19 namespace internal {
19 class RootWindowPropertyWatcherX; 20 class RootWindowPropertyWatcherX;
20 } 21 }
21 22
22 // This is a helper class that is used to keep track of changes to work area. 23 // This is a helper class that is used to keep track of changes to work area.
23 // Add an observer to track changes. 24 // Add an observer to track changes.
(...skipping 21 matching lines...) Expand all
45 void NotifyWorkAreaChanged(); 46 void NotifyWorkAreaChanged();
46 47
47 ObserverList<WorkAreaWatcherObserver> observers_; 48 ObserverList<WorkAreaWatcherObserver> observers_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(WorkAreaWatcherX); 50 DISALLOW_COPY_AND_ASSIGN(WorkAreaWatcherX);
50 }; 51 };
51 52
52 } // namespace ui 53 } // namespace ui
53 54
54 #endif // UI_BASE_X_WORK_AREA_WATCHER_X_H_ 55 #endif // UI_BASE_X_WORK_AREA_WATCHER_X_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698