OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ | 5 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ |
6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ | 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "components/mus/ws/server_window_observer.h" | 11 #include "components/mus/ws/server_window_observer.h" |
12 | 12 |
13 namespace mus { | 13 namespace mus { |
14 | 14 |
15 namespace ws { | 15 namespace ws { |
16 | 16 |
17 class ServerWindowDrawnTrackerObserver; | 17 class ServerWindowDrawnTrackerObserver; |
18 | 18 |
19 // ServerWindowDrawnTracker notifies its observer any time the drawn state of | 19 // ServerWindowDrawnTracker notifies its observer any time the drawn state of |
20 // the supplied window changes. | 20 // the supplied window changes. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 std::set<ServerWindow*> windows_; | 56 std::set<ServerWindow*> windows_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ServerWindowDrawnTracker); | 58 DISALLOW_COPY_AND_ASSIGN(ServerWindowDrawnTracker); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace ws | 61 } // namespace ws |
62 | 62 |
63 } // namespace mus | 63 } // namespace mus |
64 | 64 |
65 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ | 65 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_DRAWN_TRACKER_H_ |
OLD | NEW |