OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_COMMON_SHELF_SHELF_WINDOW_WATCHER_H_ | 5 #ifndef ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
6 #define ASH_COMMON_SHELF_SHELF_WINDOW_WATCHER_H_ | 6 #define ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/scoped_observer.h" | 11 #include "base/scoped_observer.h" |
12 #include "ui/aura/window_observer.h" | 12 #include "ui/aura/window_observer.h" |
13 #include "ui/display/display_observer.h" | 13 #include "ui/display/display_observer.h" |
14 #include "ui/wm/public/activation_change_observer.h" | 14 #include "ui/wm/public/activation_change_observer.h" |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 ScopedObserver<aura::Window, UserWindowObserver> observed_user_windows_; | 110 ScopedObserver<aura::Window, UserWindowObserver> observed_user_windows_; |
111 | 111 |
112 // The set of windows with shelf items managed by this ShelfWindowWatcher. | 112 // The set of windows with shelf items managed by this ShelfWindowWatcher. |
113 std::set<aura::Window*> user_windows_with_items_; | 113 std::set<aura::Window*> user_windows_with_items_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(ShelfWindowWatcher); | 115 DISALLOW_COPY_AND_ASSIGN(ShelfWindowWatcher); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace ash | 118 } // namespace ash |
119 | 119 |
120 #endif // ASH_COMMON_SHELF_SHELF_WINDOW_WATCHER_H_ | 120 #endif // ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
OLD | NEW |