| Index: ash/shell.h
|
| diff --git a/ash/shell.h b/ash/shell.h
|
| index 3c5afd33bda82fa6c4f1686868fc29271373273e..b151530da41096b26bc3fc253a5322bd1235b1ba 100644
|
| --- a/ash/shell.h
|
| +++ b/ash/shell.h
|
| @@ -145,6 +145,7 @@ class ShellObserver;
|
| class ShutdownController;
|
| class ShutdownObserver;
|
| class SmsObserver;
|
| +class SplitViewController;
|
| class StickyKeysController;
|
| class SystemGestureEventFilter;
|
| class SystemModalContainerEventFilter;
|
| @@ -530,6 +531,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);
|
|
|
| @@ -571,6 +579,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);
|
| @@ -795,6 +810,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.
|
| NativeCursorManagerAsh* native_cursor_manager_;
|
|
|