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

Side by Side Diff: ash/common/wm_shell.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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/common/wm_root_window_controller.cc ('k') | ash/display/cursor_window_controller.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 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/common/wm_shell.h" 5 #include "ash/common/wm_shell.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/accelerators/accelerator_controller.h" 9 #include "ash/common/accelerators/accelerator_controller.h"
10 #include "ash/common/accelerators/ash_focus_manager_factory.h" 10 #include "ash/common/accelerators/ash_focus_manager_factory.h"
11 #include "ash/common/accessibility_delegate.h" 11 #include "ash/common/accessibility_delegate.h"
12 #include "ash/common/focus_cycler.h" 12 #include "ash/common/focus_cycler.h"
13 #include "ash/common/keyboard/keyboard_ui.h" 13 #include "ash/common/keyboard/keyboard_ui.h"
14 #include "ash/common/new_window_delegate.h" 14 #include "ash/common/new_window_delegate.h"
15 #include "ash/common/palette_delegate.h" 15 #include "ash/common/palette_delegate.h"
16 #include "ash/common/session/session_state_delegate.h" 16 #include "ash/common/session/session_state_delegate.h"
17 #include "ash/common/shelf/app_list_shelf_item_delegate.h" 17 #include "ash/common/shelf/app_list_shelf_item_delegate.h"
18 #include "ash/common/shelf/shelf_controller.h" 18 #include "ash/common/shelf/shelf_controller.h"
19 #include "ash/common/shelf/shelf_delegate.h" 19 #include "ash/common/shelf/shelf_delegate.h"
20 #include "ash/common/shelf/shelf_model.h" 20 #include "ash/common/shelf/shelf_model.h"
21 #include "ash/common/shelf/shelf_window_watcher.h" 21 #include "ash/common/shelf/shelf_window_watcher.h"
22 #include "ash/common/shell_delegate.h" 22 #include "ash/common/shell_delegate.h"
23 #include "ash/common/shell_window_ids.h"
24 #include "ash/common/system/brightness_control_delegate.h" 23 #include "ash/common/system/brightness_control_delegate.h"
25 #include "ash/common/system/keyboard_brightness_control_delegate.h" 24 #include "ash/common/system/keyboard_brightness_control_delegate.h"
26 #include "ash/common/system/locale/locale_notification_controller.h" 25 #include "ash/common/system/locale/locale_notification_controller.h"
27 #include "ash/common/system/toast/toast_manager.h" 26 #include "ash/common/system/toast/toast_manager.h"
28 #include "ash/common/system/tray/system_tray_controller.h" 27 #include "ash/common/system/tray/system_tray_controller.h"
29 #include "ash/common/system/tray/system_tray_delegate.h" 28 #include "ash/common/system/tray/system_tray_delegate.h"
30 #include "ash/common/system/tray/system_tray_notifier.h" 29 #include "ash/common/system/tray/system_tray_notifier.h"
31 #include "ash/common/wallpaper/wallpaper_controller.h" 30 #include "ash/common/wallpaper/wallpaper_controller.h"
32 #include "ash/common/wallpaper/wallpaper_delegate.h" 31 #include "ash/common/wallpaper/wallpaper_delegate.h"
33 #include "ash/common/wm/immersive_context_ash.h" 32 #include "ash/common/wm/immersive_context_ash.h"
34 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 33 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
35 #include "ash/common/wm/mru_window_tracker.h" 34 #include "ash/common/wm/mru_window_tracker.h"
36 #include "ash/common/wm/overview/window_selector_controller.h" 35 #include "ash/common/wm/overview/window_selector_controller.h"
37 #include "ash/common/wm/root_window_finder.h" 36 #include "ash/common/wm/root_window_finder.h"
38 #include "ash/common/wm/system_modal_container_layout_manager.h" 37 #include "ash/common/wm/system_modal_container_layout_manager.h"
39 #include "ash/common/wm/window_cycle_controller.h" 38 #include "ash/common/wm/window_cycle_controller.h"
40 #include "ash/common/wm_root_window_controller.h" 39 #include "ash/common/wm_root_window_controller.h"
41 #include "ash/common/wm_window.h" 40 #include "ash/common/wm_window.h"
41 #include "ash/public/cpp/shell_window_ids.h"
42 #include "base/bind.h" 42 #include "base/bind.h"
43 #include "base/logging.h" 43 #include "base/logging.h"
44 #include "base/memory/ptr_util.h" 44 #include "base/memory/ptr_util.h"
45 #include "ui/app_list/presenter/app_list_presenter.h" 45 #include "ui/app_list/presenter/app_list_presenter.h"
46 #include "ui/display/display.h" 46 #include "ui/display/display.h"
47 #include "ui/views/focus/focus_manager_factory.h" 47 #include "ui/views/focus/focus_manager_factory.h"
48 48
49 #if defined(OS_CHROMEOS) 49 #if defined(OS_CHROMEOS)
50 #include "ash/common/system/chromeos/brightness/brightness_controller_chromeos.h " 50 #include "ash/common/system/chromeos/brightness/brightness_controller_chromeos.h "
51 #include "ash/common/system/chromeos/keyboard_brightness_controller.h" 51 #include "ash/common/system/chromeos/keyboard_brightness_controller.h"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 void WmShell::DeleteToastManager() { 383 void WmShell::DeleteToastManager() {
384 toast_manager_.reset(); 384 toast_manager_.reset();
385 } 385 }
386 386
387 void WmShell::SetAcceleratorController( 387 void WmShell::SetAcceleratorController(
388 std::unique_ptr<AcceleratorController> accelerator_controller) { 388 std::unique_ptr<AcceleratorController> accelerator_controller) {
389 accelerator_controller_ = std::move(accelerator_controller); 389 accelerator_controller_ = std::move(accelerator_controller);
390 } 390 }
391 391
392 } // namespace ash 392 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller.cc ('k') | ash/display/cursor_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698