| 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/aura/wm_shell_aura.h" | 5 #include "ash/aura/wm_shell_aura.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
| 8 #include "ash/common/wm/mru_window_tracker.h" |
| 8 #include "ash/common/wm_activation_observer.h" | 9 #include "ash/common/wm_activation_observer.h" |
| 9 #include "ash/common/wm_display_observer.h" | 10 #include "ash/common/wm_display_observer.h" |
| 10 #include "ash/common/wm_overview_mode_observer.h" | 11 #include "ash/common/wm_overview_mode_observer.h" |
| 11 #include "ash/display/window_tree_host_manager.h" | 12 #include "ash/display/window_tree_host_manager.h" |
| 12 #include "ash/session/session_state_delegate.h" | 13 #include "ash/session/session_state_delegate.h" |
| 13 #include "ash/shell.h" | 14 #include "ash/shell.h" |
| 14 #include "ash/shell_delegate.h" | 15 #include "ash/shell_delegate.h" |
| 15 #include "ash/wm/drag_window_resizer.h" | 16 #include "ash/wm/drag_window_resizer.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 | 24 |
| 25 WmShellAura::WmShellAura() { | 25 WmShellAura::WmShellAura() { |
| 26 WmShell::Set(this); | 26 WmShell::Set(this); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 FOR_EACH_OBSERVER(WmDisplayObserver, display_observers_, | 199 FOR_EACH_OBSERVER(WmDisplayObserver, display_observers_, |
| 200 OnDisplayConfigurationChanged()); | 200 OnDisplayConfigurationChanged()); |
| 201 } | 201 } |
| 202 | 202 |
| 203 void WmShellAura::OnOverviewModeEnded() { | 203 void WmShellAura::OnOverviewModeEnded() { |
| 204 FOR_EACH_OBSERVER(WmOverviewModeObserver, overview_mode_observers_, | 204 FOR_EACH_OBSERVER(WmOverviewModeObserver, overview_mode_observers_, |
| 205 OnOverviewModeEnded()); | 205 OnOverviewModeEnded()); |
| 206 } | 206 } |
| 207 | 207 |
| 208 } // namespace ash | 208 } // namespace ash |
| OLD | NEW |