OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ash/wm/aura/wm_globals_aura.h" | 5 #include "ash/wm/aura/wm_globals_aura.h" |
6 | 6 |
| 7 #include "ash/common/wm/wm_activation_observer.h" |
| 8 #include "ash/common/wm/wm_display_observer.h" |
| 9 #include "ash/common/wm/wm_overview_mode_observer.h" |
7 #include "ash/display/window_tree_host_manager.h" | 10 #include "ash/display/window_tree_host_manager.h" |
8 #include "ash/session/session_state_delegate.h" | 11 #include "ash/session/session_state_delegate.h" |
9 #include "ash/shell.h" | 12 #include "ash/shell.h" |
10 #include "ash/shell_delegate.h" | 13 #include "ash/shell_delegate.h" |
11 #include "ash/wm/aura/wm_window_aura.h" | 14 #include "ash/wm/aura/wm_window_aura.h" |
12 #include "ash/wm/common/wm_activation_observer.h" | |
13 #include "ash/wm/common/wm_display_observer.h" | |
14 #include "ash/wm/common/wm_overview_mode_observer.h" | |
15 #include "ash/wm/drag_window_resizer.h" | 15 #include "ash/wm/drag_window_resizer.h" |
16 #include "ash/wm/mru_window_tracker.h" | 16 #include "ash/wm/mru_window_tracker.h" |
17 #include "ash/wm/overview/window_selector_controller.h" | 17 #include "ash/wm/overview/window_selector_controller.h" |
18 #include "ash/wm/window_util.h" | 18 #include "ash/wm/window_util.h" |
19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
20 #include "ui/aura/client/focus_client.h" | 20 #include "ui/aura/client/focus_client.h" |
21 #include "ui/wm/public/activation_client.h" | 21 #include "ui/wm/public/activation_client.h" |
22 | 22 |
23 namespace ash { | 23 namespace ash { |
24 namespace wm { | 24 namespace wm { |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 OnDisplayConfigurationChanged()); | 194 OnDisplayConfigurationChanged()); |
195 } | 195 } |
196 | 196 |
197 void WmGlobalsAura::OnOverviewModeEnded() { | 197 void WmGlobalsAura::OnOverviewModeEnded() { |
198 FOR_EACH_OBSERVER(WmOverviewModeObserver, overview_mode_observers_, | 198 FOR_EACH_OBSERVER(WmOverviewModeObserver, overview_mode_observers_, |
199 OnOverviewModeEnded()); | 199 OnOverviewModeEnded()); |
200 } | 200 } |
201 | 201 |
202 } // namespace wm | 202 } // namespace wm |
203 } // namespace ash | 203 } // namespace ash |
OLD | NEW |