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

Unified Diff: ash/common/wm_shell.h

Issue 2318223003: mash: Migrate wallpaper controllers to ash/common. (Closed)
Patch Set: Cleanup. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index bf5b830641778281f2227790eda0c534f0c2fc69..876c9d189079a554dbaa305c7fbfba19738b2fac 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -57,6 +57,7 @@ class ShellObserver;
class SystemTrayDelegate;
class SystemTrayNotifier;
class ToastManager;
+class WallpaperController;
class WallpaperDelegate;
class WindowCycleController;
class WindowCycleEventFilter;
@@ -145,6 +146,10 @@ class ASH_EXPORT WmShell {
ToastManager* toast_manager() { return toast_manager_.get(); }
+ WallpaperController* wallpaper_controller() {
+ return wallpaper_controller_.get();
+ }
+
WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); }
WindowCycleController* window_cycle_controller() {
@@ -352,6 +357,8 @@ class ASH_EXPORT WmShell {
// True if any touch points are down.
virtual bool IsTouchDown() = 0;
+ virtual base::SequencedWorkerPool* GetBlockingPool() = 0;
James Cook 2016/09/07 21:27:05 nit: forward declare base::SequencedWorkerPool (no
msw 2016/09/07 22:28:24 Done.
+
#if defined(OS_CHROMEOS)
LogoutConfirmationController* logout_confirmation_controller() {
return logout_confirmation_controller_.get();
@@ -420,6 +427,7 @@ class ASH_EXPORT WmShell {
std::unique_ptr<SystemTrayNotifier> system_tray_notifier_;
std::unique_ptr<SystemTrayDelegate> system_tray_delegate_;
std::unique_ptr<ToastManager> toast_manager_;
+ std::unique_ptr<WallpaperController> wallpaper_controller_;
std::unique_ptr<WallpaperDelegate> wallpaper_delegate_;
std::unique_ptr<WindowCycleController> window_cycle_controller_;
std::unique_ptr<WindowSelectorController> window_selector_controller_;

Powered by Google App Engine
This is Rietveld 408576698