| Index: ash/wm/window_state.h
|
| diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h
|
| index 8c68e2466b5116aa0bb965c1e2d9d99d9040ab3f..e5200cce5bc9f2fca328d2917d497b0780abcc87 100644
|
| --- a/ash/wm/window_state.h
|
| +++ b/ash/wm/window_state.h
|
| @@ -58,6 +58,10 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
| bool IsMinimized() const;
|
| bool IsMaximized() const;
|
| bool IsFullscreen() const;
|
| + // True if the window's show state is SHOW_STATE_FULLSCREEN and the fullscreen
|
| + // type allows the top-of-window views to be revealed when the mouse is
|
| + // hovered at the top of the screen.
|
| + bool IsImmersiveFullscreen() const;
|
| bool IsMaximizedOrFullscreen() const;
|
| // True if the window's show state is SHOW_STATE_NORMAL or
|
| // SHOW_STATE_DEFAULT.
|
| @@ -110,6 +114,13 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
| // Deletes and clears the restore bounds property on the window.
|
| void ClearRestoreBounds();
|
|
|
| + // Sets the type of fullscreen. This only has an effect if already in
|
| + // fullscreen.
|
| + FullscreenType fullscreen_type() const {
|
| + return fullscreen_type_;
|
| + }
|
| + void SetFullscreenType(FullscreenType type);
|
| +
|
| // Sets whether the window should always be restored to the restore bounds
|
| // (sometimes the workspace layout manager restores the window to its original
|
| // bounds instead of the restore bounds. Setting this key overrides that
|
| @@ -209,6 +220,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
|
| // The owner of this window settings.
|
| aura::Window* window_;
|
|
|
| + FullscreenType fullscreen_type_;
|
| bool tracked_by_workspace_;
|
| bool window_position_managed_;
|
| bool bounds_changed_by_user_;
|
|
|