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

Unified Diff: ash/shell.h

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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
« no previous file with comments | « ash/mus/context_menu_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 39209b1df1f3cfecbdb9f31be0555662bd8b253f..32ac6eeb4f939b115b0e1cde93f01abcc2d49b03 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -35,6 +35,10 @@ class ActivationClient;
}
}
+namespace base {
+class SequencedWorkerPool;
+}
+
namespace chromeos {
class AudioA11yController;
}
@@ -52,6 +56,9 @@ class Insets;
namespace ui {
class UserActivityDetector;
class UserActivityPowerManagerNotifier;
+namespace devtools {
+class UiDevToolsServer;
+}
}
namespace views {
@@ -74,8 +81,10 @@ class WindowModalityController;
namespace ash {
class AcceleratorControllerDelegateAura;
+class AccessibilityDelegate;
class AppListDelegateImpl;
class AshNativeCursorManager;
+class AshTouchTransformController;
class AutoclickController;
class BluetoothNotificationController;
class DisplayColorManager;
@@ -95,6 +104,7 @@ enum class LoginStatus;
class MagnificationController;
class MouseCursorEventFilter;
class OverlayEventFilter;
+class PaletteDelegate;
class PartialMagnificationController;
class PowerButtonController;
class PowerEventObserver;
@@ -117,11 +127,12 @@ class SystemGestureEventFilter;
class SystemModalContainerEventFilter;
class SystemTray;
class ToplevelWindowEventHandler;
-class AshTouchTransformController;
class ScreenLayoutObserver;
+class ToastManager;
class VirtualKeyboardController;
class VideoActivityNotifier;
class VideoDetector;
+class WallpaperController;
class WebNotificationTray;
class WindowPositioner;
class WindowTreeHostManager;
@@ -252,6 +263,12 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
return accelerator_controller_delegate_.get();
}
+ AccessibilityDelegate* accessibility_delegate() {
+ return accessibility_delegate_.get();
+ }
+ const scoped_refptr<base::SequencedWorkerPool>& blocking_pool() {
+ return blocking_pool_;
+ }
display::DisplayManager* display_manager() { return display_manager_.get(); }
DisplayConfigurationController* display_configuration_controller() {
return display_configuration_controller_.get();
@@ -274,7 +291,11 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
LockStateController* lock_state_controller() {
return lock_state_controller_.get();
}
+ PaletteDelegate* palette_delegate() { return palette_delegate_.get(); }
VideoDetector* video_detector() { return video_detector_.get(); }
+ WallpaperController* wallpaper_controller() {
+ return wallpaper_controller_.get();
+ }
WindowTreeHostManager* window_tree_host_manager() {
return window_tree_host_manager_.get();
}
@@ -317,6 +338,8 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
return autoclick_controller_.get();
}
+ ToastManager* toast_manager() { return toast_manager_.get(); }
+
aura::client::ActivationClient* activation_client();
// Force the shelf to query for it's current visibility state.
@@ -515,11 +538,16 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
std::unique_ptr<SessionStateDelegate> session_state_delegate_;
std::unique_ptr<WindowPositioner> window_positioner_;
+ std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
+ std::unique_ptr<PaletteDelegate> palette_delegate_;
std::unique_ptr<DragDropController> drag_drop_controller_;
std::unique_ptr<ResizeShadowController> resize_shadow_controller_;
+ std::unique_ptr<ToastManager> toast_manager_;
+ std::unique_ptr<WallpaperController> wallpaper_controller_;
std::unique_ptr<::wm::ShadowController> shadow_controller_;
std::unique_ptr<::wm::VisibilityController> visibility_controller_;
std::unique_ptr<::wm::WindowModalityController> window_modality_controller_;
+ std::unique_ptr<ui::devtools::UiDevToolsServer> devtools_server_;
std::unique_ptr<views::corewm::TooltipController> tooltip_controller_;
LinkHandlerModelFactory* link_handler_model_factory_;
std::unique_ptr<PowerButtonController> power_button_controller_;
@@ -626,6 +654,8 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
base::ObserverList<ShellObserver> shell_observers_;
+ scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
+
DISALLOW_COPY_AND_ASSIGN(Shell);
};
« no previous file with comments | « ash/mus/context_menu_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698