Index: ash/wm/window_state.h |
diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h |
index 4ce47fdd275de07c806862b87139820d1d12b208..936caaa18a115b2041c839d5d272627142aa726d 100644 |
--- a/ash/wm/window_state.h |
+++ b/ash/wm/window_state.h |
@@ -267,6 +267,17 @@ class ASH_EXPORT WindowState : public aura::WindowObserver { |
top_row_keys_are_function_keys_ = value; |
} |
+ // True if the window is in "immersive full screen mode" which is slightly |
+ // different from the normal fullscreen mode by allowing the user to reveal |
+ // the top portion of the window through a touch / mouse gesture. It might |
+ // also allow the shelf to be shown in some situations. |
+ bool in_immersive_fullscreen() const { |
+ return in_immersive_fullscreen_; |
+ } |
+ void set_in_immersive_fullscreen(bool enable) { |
+ in_immersive_fullscreen_ = enable; |
+ } |
+ |
// Creates and takes ownership of a pointer to DragDetails when resizing is |
// active. This should be done before a resizer gets created. |
void CreateDragDetails(aura::Window* window, |
@@ -342,6 +353,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver { |
scoped_ptr<DragDetails> drag_details_; |
bool unminimize_to_restore_bounds_; |
+ bool in_immersive_fullscreen_; |
bool hide_shelf_when_fullscreen_; |
bool minimum_visibility_; |
bool can_be_dragged_; |