| OLD | NEW |
| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "ash/ash_export.h" | 13 #include "ash/ash_export.h" |
| 14 #include "ash/common/media_delegate.h" | 14 #include "ash/common/media_delegate.h" |
| 15 #include "ash/common/metrics/gesture_action_type.h" | 15 #include "ash/common/metrics/gesture_action_type.h" |
| 16 #include "ash/common/metrics/user_metrics_action.h" | 16 #include "ash/common/metrics/user_metrics_action.h" |
| 17 #include "ash/common/wm/lock_state_observer.h" | 17 #include "ash/common/wm/lock_state_observer.h" |
| 18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 19 #include "components/ui_devtools/devtools_server.h" |
| 19 #include "ui/base/ui_base_types.h" | 20 #include "ui/base/ui_base_types.h" |
| 20 #include "ui/compositor/layer_type.h" | 21 #include "ui/compositor/layer_type.h" |
| 21 #include "ui/wm/public/window_types.h" | 22 #include "ui/wm/public/window_types.h" |
| 22 | 23 |
| 23 namespace base { | 24 namespace base { |
| 24 class SequencedWorkerPool; | 25 class SequencedWorkerPool; |
| 25 } | 26 } |
| 26 | 27 |
| 27 namespace display { | 28 namespace display { |
| 28 class Display; | 29 class Display; |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 std::unique_ptr<ShelfDelegate> shelf_delegate_; | 484 std::unique_ptr<ShelfDelegate> shelf_delegate_; |
| 484 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; | 485 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; |
| 485 std::unique_ptr<SystemTrayController> system_tray_controller_; | 486 std::unique_ptr<SystemTrayController> system_tray_controller_; |
| 486 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; | 487 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; |
| 487 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; | 488 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; |
| 488 std::unique_ptr<ToastManager> toast_manager_; | 489 std::unique_ptr<ToastManager> toast_manager_; |
| 489 std::unique_ptr<WallpaperController> wallpaper_controller_; | 490 std::unique_ptr<WallpaperController> wallpaper_controller_; |
| 490 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; | 491 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; |
| 491 std::unique_ptr<WindowCycleController> window_cycle_controller_; | 492 std::unique_ptr<WindowCycleController> window_cycle_controller_; |
| 492 std::unique_ptr<WindowSelectorController> window_selector_controller_; | 493 std::unique_ptr<WindowSelectorController> window_selector_controller_; |
| 494 std::unique_ptr<ui::devtools::UiDevToolsServer> devtools_server_; |
| 493 | 495 |
| 494 base::ObserverList<LockStateObserver> lock_state_observers_; | 496 base::ObserverList<LockStateObserver> lock_state_observers_; |
| 495 | 497 |
| 496 // See comment for GetRootWindowForNewWindows(). | 498 // See comment for GetRootWindowForNewWindows(). |
| 497 WmWindow* root_window_for_new_windows_ = nullptr; | 499 WmWindow* root_window_for_new_windows_ = nullptr; |
| 498 WmWindow* scoped_root_window_for_new_windows_ = nullptr; | 500 WmWindow* scoped_root_window_for_new_windows_ = nullptr; |
| 499 | 501 |
| 500 bool simulate_modal_window_open_for_testing_ = false; | 502 bool simulate_modal_window_open_for_testing_ = false; |
| 501 | 503 |
| 502 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 504 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 503 | 505 |
| 504 #if defined(OS_CHROMEOS) | 506 #if defined(OS_CHROMEOS) |
| 505 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 507 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| 506 #endif | 508 #endif |
| 507 }; | 509 }; |
| 508 | 510 |
| 509 } // namespace ash | 511 } // namespace ash |
| 510 | 512 |
| 511 #endif // ASH_COMMON_WM_SHELL_H_ | 513 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |