OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/shell.h" | 5 #include "ash/shell.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #include "ash/wm/event_client_impl.h" | 68 #include "ash/wm/event_client_impl.h" |
69 #include "ash/wm/lock_state_controller.h" | 69 #include "ash/wm/lock_state_controller.h" |
70 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 70 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
71 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" | 71 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" |
72 #include "ash/wm/mru_window_tracker.h" | 72 #include "ash/wm/mru_window_tracker.h" |
73 #include "ash/wm/overlay_event_filter.h" | 73 #include "ash/wm/overlay_event_filter.h" |
74 #include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h" | 74 #include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h" |
75 #include "ash/wm/overview/window_selector_controller.h" | 75 #include "ash/wm/overview/window_selector_controller.h" |
76 #include "ash/wm/power_button_controller.h" | 76 #include "ash/wm/power_button_controller.h" |
77 #include "ash/wm/resize_shadow_controller.h" | 77 #include "ash/wm/resize_shadow_controller.h" |
78 #include "ash/wm/root_window_layout_manager.h" | |
79 #include "ash/wm/system_gesture_event_filter.h" | 78 #include "ash/wm/system_gesture_event_filter.h" |
80 #include "ash/wm/system_modal_container_event_filter.h" | 79 #include "ash/wm/system_modal_container_event_filter.h" |
81 #include "ash/wm/system_modal_container_layout_manager.h" | 80 #include "ash/wm/system_modal_container_layout_manager.h" |
82 #include "ash/wm/toplevel_window_event_handler.h" | 81 #include "ash/wm/toplevel_window_event_handler.h" |
83 #include "ash/wm/video_detector.h" | 82 #include "ash/wm/video_detector.h" |
84 #include "ash/wm/window_animations.h" | 83 #include "ash/wm/window_animations.h" |
85 #include "ash/wm/window_cycle_controller.h" | 84 #include "ash/wm/window_cycle_controller.h" |
86 #include "ash/wm/window_properties.h" | 85 #include "ash/wm/window_properties.h" |
87 #include "ash/wm/window_util.h" | 86 #include "ash/wm/window_util.h" |
88 #include "ash/wm/workspace_controller.h" | 87 #include "ash/wm/workspace_controller.h" |
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1250 | 1249 |
1251 void Shell::OnWindowActivated( | 1250 void Shell::OnWindowActivated( |
1252 aura::client::ActivationChangeObserver::ActivationReason reason, | 1251 aura::client::ActivationChangeObserver::ActivationReason reason, |
1253 aura::Window* gained_active, | 1252 aura::Window* gained_active, |
1254 aura::Window* lost_active) { | 1253 aura::Window* lost_active) { |
1255 if (gained_active) | 1254 if (gained_active) |
1256 target_root_window_ = gained_active->GetRootWindow(); | 1255 target_root_window_ = gained_active->GetRootWindow(); |
1257 } | 1256 } |
1258 | 1257 |
1259 } // namespace ash | 1258 } // namespace ash |
OLD | NEW |