| Index: ash/shell.h
|
| diff --git a/ash/shell.h b/ash/shell.h
|
| index 08bb804c31026fa114a5045cfdf07f7246c81edd..052cb0d4c011d70d35fb924f7ba7197f79cf0db5 100644
|
| --- a/ash/shell.h
|
| +++ b/ash/shell.h
|
| @@ -152,6 +152,7 @@ class ShellObserver;
|
| class ShutdownController;
|
| class ShutdownObserver;
|
| class SmsObserver;
|
| +class SplitViewController;
|
| class StickyKeysController;
|
| class SystemGestureEventFilter;
|
| class SystemModalContainerEventFilter;
|
| @@ -540,6 +541,13 @@ class ASH_EXPORT Shell : public SessionObserver,
|
|
|
| GPUSupport* gpu_support() { return gpu_support_.get(); }
|
|
|
| + SplitViewController* split_view_controller() {
|
| + return split_view_controller_.get();
|
| + }
|
| +
|
| + // Returns true if split view mode is active.
|
| + bool IsSplitViewModeActive() const;
|
| +
|
| void AddShellObserver(ShellObserver* observer);
|
| void RemoveShellObserver(ShellObserver* observer);
|
|
|
| @@ -581,6 +589,13 @@ class ASH_EXPORT Shell : public SessionObserver,
|
| // Notifies observers that overview mode has ended.
|
| void NotifyOverviewModeEnded();
|
|
|
| + // Notifies observers that split view mode is about to be started (before the
|
| + // window gets snapped and activated).
|
| + void NotifySplitViewModeStarting();
|
| +
|
| + // Notifies observers that split view mode has ended.
|
| + void NotifySplitViewModeEnded();
|
| +
|
| // Notifies observers that fullscreen mode has changed for |root_window|.
|
| void NotifyFullscreenStateChanged(bool is_fullscreen,
|
| aura::Window* root_window);
|
| @@ -807,6 +822,9 @@ class ASH_EXPORT Shell : public SessionObserver,
|
| std::unique_ptr<PartialMagnificationController>
|
| partial_magnification_controller_;
|
|
|
| + // The split view controller for Chrome OS in tablet mode.
|
| + std::unique_ptr<SplitViewController> split_view_controller_;
|
| +
|
| // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
|
| // pointer to vend to test code.
|
| AshNativeCursorManager* native_cursor_manager_;
|
|
|