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

Side by Side Diff: ash/shell.cc

Issue 2084733002: mash: Move tray accessibility and keyboard to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@typenamespace
Patch Set: rebase 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/keyboard/keyboard_ui_observer.h ('k') | ash/system/cast/tray_cast.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/aura/wm_shell_aura.h" 14 #include "ash/aura/wm_shell_aura.h"
15 #include "ash/aura/wm_window_aura.h" 15 #include "ash/aura/wm_window_aura.h"
16 #include "ash/autoclick/autoclick_controller.h" 16 #include "ash/autoclick/autoclick_controller.h"
17 #include "ash/common/accessibility_delegate.h" 17 #include "ash/common/accessibility_delegate.h"
18 #include "ash/common/ash_switches.h" 18 #include "ash/common/ash_switches.h"
19 #include "ash/common/keyboard/keyboard_ui.h"
19 #include "ash/common/session/session_state_delegate.h" 20 #include "ash/common/session/session_state_delegate.h"
20 #include "ash/common/shelf/shelf_item_delegate.h" 21 #include "ash/common/shelf/shelf_item_delegate.h"
21 #include "ash/common/shelf/shelf_item_delegate_manager.h" 22 #include "ash/common/shelf/shelf_item_delegate_manager.h"
22 #include "ash/common/shelf/shelf_model.h" 23 #include "ash/common/shelf/shelf_model.h"
23 #include "ash/common/shell_window_ids.h" 24 #include "ash/common/shell_window_ids.h"
24 #include "ash/common/system/tray/system_tray_delegate.h" 25 #include "ash/common/system/tray/system_tray_delegate.h"
25 #include "ash/common/wm/mru_window_tracker.h" 26 #include "ash/common/wm/mru_window_tracker.h"
26 #include "ash/common/wm/root_window_finder.h" 27 #include "ash/common/wm/root_window_finder.h"
27 #include "ash/common/wm/window_positioner.h" 28 #include "ash/common/wm/window_positioner.h"
28 #include "ash/common/wm_shell.h" 29 #include "ash/common/wm_shell.h"
29 #include "ash/common/wm_shell_common.h" 30 #include "ash/common/wm_shell_common.h"
30 #include "ash/container_delegate.h" 31 #include "ash/container_delegate.h"
31 #include "ash/desktop_background/desktop_background_controller.h" 32 #include "ash/desktop_background/desktop_background_controller.h"
32 #include "ash/desktop_background/desktop_background_view.h" 33 #include "ash/desktop_background/desktop_background_view.h"
33 #include "ash/desktop_background/user_wallpaper_delegate.h" 34 #include "ash/desktop_background/user_wallpaper_delegate.h"
34 #include "ash/display/cursor_window_controller.h" 35 #include "ash/display/cursor_window_controller.h"
35 #include "ash/display/display_configuration_controller.h" 36 #include "ash/display/display_configuration_controller.h"
36 #include "ash/display/display_manager.h" 37 #include "ash/display/display_manager.h"
37 #include "ash/display/event_transformation_handler.h" 38 #include "ash/display/event_transformation_handler.h"
38 #include "ash/display/mouse_cursor_event_filter.h" 39 #include "ash/display/mouse_cursor_event_filter.h"
39 #include "ash/display/screen_position_controller.h" 40 #include "ash/display/screen_position_controller.h"
40 #include "ash/display/window_tree_host_manager.h" 41 #include "ash/display/window_tree_host_manager.h"
41 #include "ash/drag_drop/drag_drop_controller.h" 42 #include "ash/drag_drop/drag_drop_controller.h"
42 #include "ash/first_run/first_run_helper_impl.h" 43 #include "ash/first_run/first_run_helper_impl.h"
43 #include "ash/frame/custom_frame_view_ash.h" 44 #include "ash/frame/custom_frame_view_ash.h"
44 #include "ash/gpu_support.h" 45 #include "ash/gpu_support.h"
45 #include "ash/high_contrast/high_contrast_controller.h" 46 #include "ash/high_contrast/high_contrast_controller.h"
46 #include "ash/host/ash_window_tree_host_init_params.h" 47 #include "ash/host/ash_window_tree_host_init_params.h"
47 #include "ash/ime/input_method_event_handler.h" 48 #include "ash/ime/input_method_event_handler.h"
48 #include "ash/keyboard/keyboard_ui.h"
49 #include "ash/keyboard_uma_event_filter.h" 49 #include "ash/keyboard_uma_event_filter.h"
50 #include "ash/magnifier/magnification_controller.h" 50 #include "ash/magnifier/magnification_controller.h"
51 #include "ash/magnifier/partial_magnification_controller.h" 51 #include "ash/magnifier/partial_magnification_controller.h"
52 #include "ash/media_delegate.h" 52 #include "ash/media_delegate.h"
53 #include "ash/new_window_delegate.h" 53 #include "ash/new_window_delegate.h"
54 #include "ash/pointer_watcher_delegate.h" 54 #include "ash/pointer_watcher_delegate.h"
55 #include "ash/root_window_controller.h" 55 #include "ash/root_window_controller.h"
56 #include "ash/shelf/app_list_shelf_item_delegate.h" 56 #include "ash/shelf/app_list_shelf_item_delegate.h"
57 #include "ash/shelf/shelf.h" 57 #include "ash/shelf/shelf.h"
58 #include "ash/shelf/shelf_delegate.h" 58 #include "ash/shelf/shelf_delegate.h"
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 1216
1217 void Shell::OnWindowActivated( 1217 void Shell::OnWindowActivated(
1218 aura::client::ActivationChangeObserver::ActivationReason reason, 1218 aura::client::ActivationChangeObserver::ActivationReason reason,
1219 aura::Window* gained_active, 1219 aura::Window* gained_active,
1220 aura::Window* lost_active) { 1220 aura::Window* lost_active) {
1221 if (gained_active) 1221 if (gained_active)
1222 target_root_window_ = gained_active->GetRootWindow(); 1222 target_root_window_ = gained_active->GetRootWindow();
1223 } 1223 }
1224 1224
1225 } // namespace ash 1225 } // namespace ash
OLDNEW
« no previous file with comments | « ash/keyboard/keyboard_ui_observer.h ('k') | ash/system/cast/tray_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698