Chromium Code Reviews| Index: ash/wm/window_state.h |
| diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h |
| index 4ce47fdd275de07c806862b87139820d1d12b208..f9bfc534bf533d6c065ffeb7a29a0a41d1ca85d4 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 will also |
| + // allow the shelf to be shown. |
|
pkotwicz
2014/06/02 22:27:58
The part about "It will also allow the shelf to be
Mr4D (OOO till 08-26)
2014/06/03 14:36:40
I am not sure if the full immersive functionality
|
| + 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, |
| @@ -339,6 +350,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver { |
| bool ignored_by_shelf_; |
| bool can_consume_system_keys_; |
| bool top_row_keys_are_function_keys_; |
| + bool in_immersive_fullscreen_; |
| scoped_ptr<DragDetails> drag_details_; |
| bool unminimize_to_restore_bounds_; |