Index: ash/wm/window_state.h |
diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h |
index 4ce47fdd275de07c806862b87139820d1d12b208..b6d81d3e6589844400f63fc907f1490705d4d0ba 100644 |
--- a/ash/wm/window_state.h |
+++ b/ash/wm/window_state.h |
@@ -267,6 +267,15 @@ 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 than normal fullscreen mode (e.g. use of edge swipe gestures). |
+ bool immersive_mode() const { |
pkotwicz
2014/06/02 19:50:06
This should be called in_immersive_fullscreen().
Mr4D (OOO till 08-26)
2014/06/02 20:36:20
Done.
|
+ return immersive_mode_; |
+ } |
+ void set_immersive_mode(bool enable) { |
+ immersive_mode_ = 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 +348,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 immersive_mode_; |
scoped_ptr<DragDetails> drag_details_; |
bool unminimize_to_restore_bounds_; |