Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: ash/shell.cc

Issue 2045793002: Moves MruWindowTracker into common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mru_window_tracker
Patch Set: not relative Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/wm/ash_focus_rules.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #include "ash/accelerators/accelerator_controller.h" 11 #include "ash/accelerators/accelerator_controller.h"
12 #include "ash/accelerators/accelerator_delegate.h" 12 #include "ash/accelerators/accelerator_delegate.h"
13 #include "ash/accelerators/focus_manager_factory.h" 13 #include "ash/accelerators/focus_manager_factory.h"
14 #include "ash/ash_switches.h" 14 #include "ash/ash_switches.h"
15 #include "ash/aura/wm_shell_aura.h" 15 #include "ash/aura/wm_shell_aura.h"
16 #include "ash/aura/wm_window_aura.h" 16 #include "ash/aura/wm_window_aura.h"
17 #include "ash/autoclick/autoclick_controller.h" 17 #include "ash/autoclick/autoclick_controller.h"
18 #include "ash/common/shelf/shelf_item_delegate.h" 18 #include "ash/common/shelf/shelf_item_delegate.h"
19 #include "ash/common/shelf/shelf_item_delegate_manager.h" 19 #include "ash/common/shelf/shelf_item_delegate_manager.h"
20 #include "ash/common/shelf/shelf_model.h" 20 #include "ash/common/shelf/shelf_model.h"
21 #include "ash/common/shell_window_ids.h" 21 #include "ash/common/shell_window_ids.h"
22 #include "ash/common/wm/mru_window_tracker.h"
22 #include "ash/common/wm/root_window_finder.h" 23 #include "ash/common/wm/root_window_finder.h"
23 #include "ash/common/wm/window_positioner.h" 24 #include "ash/common/wm/window_positioner.h"
24 #include "ash/container_delegate.h" 25 #include "ash/container_delegate.h"
25 #include "ash/desktop_background/desktop_background_controller.h" 26 #include "ash/desktop_background/desktop_background_controller.h"
26 #include "ash/desktop_background/desktop_background_view.h" 27 #include "ash/desktop_background/desktop_background_view.h"
27 #include "ash/desktop_background/user_wallpaper_delegate.h" 28 #include "ash/desktop_background/user_wallpaper_delegate.h"
28 #include "ash/display/cursor_window_controller.h" 29 #include "ash/display/cursor_window_controller.h"
29 #include "ash/display/display_configuration_controller.h" 30 #include "ash/display/display_configuration_controller.h"
30 #include "ash/display/display_manager.h" 31 #include "ash/display/display_manager.h"
31 #include "ash/display/event_transformation_handler.h" 32 #include "ash/display/event_transformation_handler.h"
(...skipping 30 matching lines...) Expand all
62 #include "ash/system/toast/toast_manager.h" 63 #include "ash/system/toast/toast_manager.h"
63 #include "ash/system/tray/system_tray_delegate.h" 64 #include "ash/system/tray/system_tray_delegate.h"
64 #include "ash/system/tray/system_tray_notifier.h" 65 #include "ash/system/tray/system_tray_notifier.h"
65 #include "ash/utility/screenshot_controller.h" 66 #include "ash/utility/screenshot_controller.h"
66 #include "ash/wm/ash_focus_rules.h" 67 #include "ash/wm/ash_focus_rules.h"
67 #include "ash/wm/ash_native_cursor_manager.h" 68 #include "ash/wm/ash_native_cursor_manager.h"
68 #include "ash/wm/event_client_impl.h" 69 #include "ash/wm/event_client_impl.h"
69 #include "ash/wm/lock_state_controller.h" 70 #include "ash/wm/lock_state_controller.h"
70 #include "ash/wm/maximize_mode/maximize_mode_controller.h" 71 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
71 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" 72 #include "ash/wm/maximize_mode/maximize_mode_window_manager.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/system_gesture_event_filter.h" 78 #include "ash/wm/system_gesture_event_filter.h"
79 #include "ash/wm/system_modal_container_event_filter.h" 79 #include "ash/wm/system_modal_container_event_filter.h"
80 #include "ash/wm/system_modal_container_layout_manager.h" 80 #include "ash/wm/system_modal_container_layout_manager.h"
81 #include "ash/wm/toplevel_window_event_handler.h" 81 #include "ash/wm/toplevel_window_event_handler.h"
82 #include "ash/wm/video_detector.h" 82 #include "ash/wm/video_detector.h"
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 1248
1249 void Shell::OnWindowActivated( 1249 void Shell::OnWindowActivated(
1250 aura::client::ActivationChangeObserver::ActivationReason reason, 1250 aura::client::ActivationChangeObserver::ActivationReason reason,
1251 aura::Window* gained_active, 1251 aura::Window* gained_active,
1252 aura::Window* lost_active) { 1252 aura::Window* lost_active) {
1253 if (gained_active) 1253 if (gained_active)
1254 target_root_window_ = gained_active->GetRootWindow(); 1254 target_root_window_ = gained_active->GetRootWindow();
1255 } 1255 }
1256 1256
1257 } // namespace ash 1257 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/wm/ash_focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698