Index: ash/common/wm/window_state.h |
diff --git a/ash/common/wm/window_state.h b/ash/common/wm/window_state.h |
index 4763f5b1fc610f4b179628f17f56e3eca0059f4d..71f042fb625261634e33345af602d7dc935c2905 100644 |
--- a/ash/common/wm/window_state.h |
+++ b/ash/common/wm/window_state.h |
@@ -294,13 +294,12 @@ class ASH_EXPORT WindowState { |
ignore_keyboard_bounds_change_ = ignore_keyboard_bounds_change; |
} |
- // True if the window's bounds can be updated using SET_BOUNDS event in |
- // maiximzed/fullscreen mode. |
- void set_allow_set_bounds_in_maximized(bool value) { |
- allow_set_bounds_in_maximized_ = value; |
+ // True if the window bounds can be updated directly using SET_BOUNDS event. |
+ void set_allow_set_bounds_direct(bool value) { |
+ allow_set_bounds_direct_ = value; |
} |
- bool allow_set_bounds_in_maximized() const { |
- return allow_set_bounds_in_maximized_; |
+ bool allow_set_bounds_direct() const { |
+ return allow_set_bounds_direct_; |
} |
// Creates and takes ownership of a pointer to DragDetails when resizing is |
@@ -396,7 +395,7 @@ class ASH_EXPORT WindowState { |
bool minimum_visibility_; |
bool can_be_dragged_; |
bool cached_always_on_top_; |
- bool allow_set_bounds_in_maximized_ = false; |
+ bool allow_set_bounds_direct_ = false; |
// A property to remember the window position which was set before the |
// auto window position manager changed the window bounds, so that it can get |