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

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

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: rebase Created 4 years, 1 month 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/system/tray/system_tray_delegate.cc ('k') | ash/common/wm_shell.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 #ifndef ASH_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class MruWindowTracker; 55 class MruWindowTracker;
56 class PaletteDelegate; 56 class PaletteDelegate;
57 class ScopedDisableInternalMouseAndKeyboard; 57 class ScopedDisableInternalMouseAndKeyboard;
58 class SessionStateDelegate; 58 class SessionStateDelegate;
59 class ShelfController; 59 class ShelfController;
60 class ShelfDelegate; 60 class ShelfDelegate;
61 class ShelfModel; 61 class ShelfModel;
62 class ShelfWindowWatcher; 62 class ShelfWindowWatcher;
63 class ShellDelegate; 63 class ShellDelegate;
64 class ShellObserver; 64 class ShellObserver;
65 class ShutdownController;
65 class SystemTrayDelegate; 66 class SystemTrayDelegate;
66 class SystemTrayController; 67 class SystemTrayController;
67 class SystemTrayNotifier; 68 class SystemTrayNotifier;
68 class ToastManager; 69 class ToastManager;
69 class WallpaperController; 70 class WallpaperController;
70 class WallpaperDelegate; 71 class WallpaperDelegate;
71 class WindowCycleController; 72 class WindowCycleController;
72 class WindowCycleEventFilter; 73 class WindowCycleEventFilter;
73 class WindowResizer; 74 class WindowResizer;
74 class WindowSelectorController; 75 class WindowSelectorController;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 151 }
151 152
152 PaletteDelegate* palette_delegate() { return palette_delegate_.get(); } 153 PaletteDelegate* palette_delegate() { return palette_delegate_.get(); }
153 154
154 ShelfController* shelf_controller() { return shelf_controller_.get(); } 155 ShelfController* shelf_controller() { return shelf_controller_.get(); }
155 156
156 ShelfDelegate* shelf_delegate() { return shelf_delegate_.get(); } 157 ShelfDelegate* shelf_delegate() { return shelf_delegate_.get(); }
157 158
158 ShelfModel* shelf_model(); 159 ShelfModel* shelf_model();
159 160
161 ShutdownController* shutdown_controller() {
162 return shutdown_controller_.get();
163 }
164
160 SystemTrayController* system_tray_controller() { 165 SystemTrayController* system_tray_controller() {
161 return system_tray_controller_.get(); 166 return system_tray_controller_.get();
162 } 167 }
163 168
164 SystemTrayNotifier* system_tray_notifier() { 169 SystemTrayNotifier* system_tray_notifier() {
165 return system_tray_notifier_.get(); 170 return system_tray_notifier_.get();
166 } 171 }
167 172
168 SystemTrayDelegate* system_tray_delegate() { 173 SystemTrayDelegate* system_tray_delegate() {
169 return system_tray_delegate_.get(); 174 return system_tray_delegate_.get();
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 std::unique_ptr<KeyboardUI> keyboard_ui_; 483 std::unique_ptr<KeyboardUI> keyboard_ui_;
479 std::unique_ptr<LocaleNotificationController> locale_notification_controller_; 484 std::unique_ptr<LocaleNotificationController> locale_notification_controller_;
480 std::unique_ptr<MaximizeModeController> maximize_mode_controller_; 485 std::unique_ptr<MaximizeModeController> maximize_mode_controller_;
481 std::unique_ptr<MediaDelegate> media_delegate_; 486 std::unique_ptr<MediaDelegate> media_delegate_;
482 std::unique_ptr<MruWindowTracker> mru_window_tracker_; 487 std::unique_ptr<MruWindowTracker> mru_window_tracker_;
483 std::unique_ptr<mojom::NewWindowClient> new_window_client_; 488 std::unique_ptr<mojom::NewWindowClient> new_window_client_;
484 std::unique_ptr<PaletteDelegate> palette_delegate_; 489 std::unique_ptr<PaletteDelegate> palette_delegate_;
485 std::unique_ptr<ShelfController> shelf_controller_; 490 std::unique_ptr<ShelfController> shelf_controller_;
486 std::unique_ptr<ShelfDelegate> shelf_delegate_; 491 std::unique_ptr<ShelfDelegate> shelf_delegate_;
487 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; 492 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
493 std::unique_ptr<ShutdownController> shutdown_controller_;
488 std::unique_ptr<SystemTrayController> system_tray_controller_; 494 std::unique_ptr<SystemTrayController> system_tray_controller_;
489 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; 495 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_;
490 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; 496 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_;
491 std::unique_ptr<ToastManager> toast_manager_; 497 std::unique_ptr<ToastManager> toast_manager_;
492 std::unique_ptr<WallpaperController> wallpaper_controller_; 498 std::unique_ptr<WallpaperController> wallpaper_controller_;
493 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; 499 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_;
494 std::unique_ptr<WindowCycleController> window_cycle_controller_; 500 std::unique_ptr<WindowCycleController> window_cycle_controller_;
495 std::unique_ptr<WindowSelectorController> window_selector_controller_; 501 std::unique_ptr<WindowSelectorController> window_selector_controller_;
496 std::unique_ptr<ui::devtools::UiDevToolsServer> devtools_server_; 502 std::unique_ptr<ui::devtools::UiDevToolsServer> devtools_server_;
497 503
498 base::ObserverList<LockStateObserver> lock_state_observers_; 504 base::ObserverList<LockStateObserver> lock_state_observers_;
499 505
500 // See comment for GetRootWindowForNewWindows(). 506 // See comment for GetRootWindowForNewWindows().
501 WmWindow* root_window_for_new_windows_ = nullptr; 507 WmWindow* root_window_for_new_windows_ = nullptr;
502 WmWindow* scoped_root_window_for_new_windows_ = nullptr; 508 WmWindow* scoped_root_window_for_new_windows_ = nullptr;
503 509
504 bool simulate_modal_window_open_for_testing_ = false; 510 bool simulate_modal_window_open_for_testing_ = false;
505 511
506 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 512 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
507 513
508 #if defined(OS_CHROMEOS) 514 #if defined(OS_CHROMEOS)
509 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 515 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
510 #endif 516 #endif
511 }; 517 };
512 518
513 } // namespace ash 519 } // namespace ash
514 520
515 #endif // ASH_COMMON_WM_SHELL_H_ 521 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698