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 | 9 |
10 #include "ash/accelerators/accelerator_controller.h" | 10 #include "ash/accelerators/accelerator_controller.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "ash/focus_cycler.h" | 29 #include "ash/focus_cycler.h" |
30 #include "ash/frame/custom_frame_view_ash.h" | 30 #include "ash/frame/custom_frame_view_ash.h" |
31 #include "ash/gpu_support.h" | 31 #include "ash/gpu_support.h" |
32 #include "ash/high_contrast/high_contrast_controller.h" | 32 #include "ash/high_contrast/high_contrast_controller.h" |
33 #include "ash/keyboard_uma_event_filter.h" | 33 #include "ash/keyboard_uma_event_filter.h" |
34 #include "ash/magnifier/magnification_controller.h" | 34 #include "ash/magnifier/magnification_controller.h" |
35 #include "ash/magnifier/partial_magnification_controller.h" | 35 #include "ash/magnifier/partial_magnification_controller.h" |
36 #include "ash/media_delegate.h" | 36 #include "ash/media_delegate.h" |
37 #include "ash/new_window_delegate.h" | 37 #include "ash/new_window_delegate.h" |
38 #include "ash/root_window_controller.h" | 38 #include "ash/root_window_controller.h" |
39 #include "ash/session/session_state_delegate.h" | 39 #include "ash/session_state_delegate.h" |
40 #include "ash/shelf/app_list_shelf_item_delegate.h" | 40 #include "ash/shelf/app_list_shelf_item_delegate.h" |
41 #include "ash/shelf/shelf_delegate.h" | 41 #include "ash/shelf/shelf_delegate.h" |
42 #include "ash/shelf/shelf_item_delegate.h" | 42 #include "ash/shelf/shelf_item_delegate.h" |
43 #include "ash/shelf/shelf_item_delegate_manager.h" | 43 #include "ash/shelf/shelf_item_delegate_manager.h" |
44 #include "ash/shelf/shelf_layout_manager.h" | 44 #include "ash/shelf/shelf_layout_manager.h" |
45 #include "ash/shelf/shelf_model.h" | 45 #include "ash/shelf/shelf_model.h" |
46 #include "ash/shelf/shelf_widget.h" | 46 #include "ash/shelf/shelf_widget.h" |
47 #include "ash/shelf/shelf_window_watcher.h" | 47 #include "ash/shelf/shelf_window_watcher.h" |
48 #include "ash/shell_delegate.h" | 48 #include "ash/shell_delegate.h" |
49 #include "ash/shell_factory.h" | 49 #include "ash/shell_factory.h" |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 //////////////////////////////////////////////////////////////////////////////// | 1116 //////////////////////////////////////////////////////////////////////////////// |
1117 // Shell, aura::client::ActivationChangeObserver implementation: | 1117 // Shell, aura::client::ActivationChangeObserver implementation: |
1118 | 1118 |
1119 void Shell::OnWindowActivated(aura::Window* gained_active, | 1119 void Shell::OnWindowActivated(aura::Window* gained_active, |
1120 aura::Window* lost_active) { | 1120 aura::Window* lost_active) { |
1121 if (gained_active) | 1121 if (gained_active) |
1122 target_root_window_ = gained_active->GetRootWindow(); | 1122 target_root_window_ = gained_active->GetRootWindow(); |
1123 } | 1123 } |
1124 | 1124 |
1125 } // namespace ash | 1125 } // namespace ash |
OLD | NEW |