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_SHELF_SHELF_WINDOW_WATCHER_H_ | 5 #ifndef ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
6 #define ASH_SHELF_SHELF_WINDOW_WATCHER_H_ | 6 #define ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ash/shelf/scoped_observer_with_duplicated_sources.h" | 10 #include "ash/shelf/scoped_observer_with_duplicated_sources.h" |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
13 #include "ui/aura/window_observer.h" | 15 #include "ui/aura/window_observer.h" |
14 #include "ui/gfx/display_observer.h" | 16 #include "ui/gfx/display_observer.h" |
15 #include "ui/wm/public/activation_change_observer.h" | 17 #include "ui/wm/public/activation_change_observer.h" |
16 | 18 |
17 namespace aura { | 19 namespace aura { |
18 | 20 |
19 class Window; | 21 class Window; |
20 | 22 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Holds all observed activation clients. | 144 // Holds all observed activation clients. |
143 ScopedObserverWithDuplicatedSources<aura::client::ActivationClient, | 145 ScopedObserverWithDuplicatedSources<aura::client::ActivationClient, |
144 aura::client::ActivationChangeObserver> observed_activation_clients_; | 146 aura::client::ActivationChangeObserver> observed_activation_clients_; |
145 | 147 |
146 DISALLOW_COPY_AND_ASSIGN(ShelfWindowWatcher); | 148 DISALLOW_COPY_AND_ASSIGN(ShelfWindowWatcher); |
147 }; | 149 }; |
148 | 150 |
149 } // namespace ash | 151 } // namespace ash |
150 | 152 |
151 #endif // ASH_SHELF_SHELF_WINDOW_WATCHER_H_ | 153 #endif // ASH_SHELF_SHELF_WINDOW_WATCHER_H_ |
OLD | NEW |