Index: ash/wm/window_state.h |
diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h |
index 2bbdd035b0d127d001746d55ddfc9ba0b96d426b..4e036f1cca7660447704cde5926c24a148a3bfcf 100644 |
--- a/ash/wm/window_state.h |
+++ b/ash/wm/window_state.h |
@@ -186,11 +186,16 @@ class ASH_EXPORT WindowState : public aura::WindowObserver { |
window_position_managed_ = window_position_managed; |
} |
+ // Allows window to be repositioned away from the screen edge. |
+ void SetWindowShowTypeUnsnapped(); |
+ |
// Whether or not the window's position or size was changed by a user. |
bool bounds_changed_by_user() const { return bounds_changed_by_user_; } |
- void set_bounds_changed_by_user(bool bounds_changed_by_user) { |
- bounds_changed_by_user_ = bounds_changed_by_user; |
- } |
+ |
+ // Sets |bounds_changed_by_user_| to the value passed in a parameter. |
+ // If the new value is true allows the window to be repositioned away from |
+ // snapped state at the screen edge. |
+ void SetBoundsChangedByUser(bool bounds_changed_by_user); |
// True if this window is an attached panel. |
bool panel_attached() const { |