| Index: ash/wm/maximize_mode/maximize_mode_window_state.h
|
| diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.h b/ash/wm/maximize_mode/maximize_mode_window_state.h
|
| index 093f46be0203ff2c303422a64e7b91376c77ea54..f82593c9efb7419ff9b933d370079ecb837f2f49 100644
|
| --- a/ash/wm/maximize_mode/maximize_mode_window_state.h
|
| +++ b/ash/wm/maximize_mode/maximize_mode_window_state.h
|
| @@ -31,6 +31,10 @@ class MaximizeModeWindowState : public wm::WindowState::State {
|
| // Leaves the maximize mode by reverting to previous state object.
|
| void LeaveMaximizeMode(wm::WindowState* window_state);
|
|
|
| + // Sets whether to ignore bounds updates. If set to false, immediately does a
|
| + // bounds update as the current window bounds may no longer be correct.
|
| + void SetDeferBoundsUpdates(bool defer_bounds_updates);
|
| +
|
| // WindowState::State overrides:
|
| virtual void OnWMEvent(wm::WindowState* window_state,
|
| const wm::WMEvent* event) OVERRIDE;
|
| @@ -71,6 +75,9 @@ class MaximizeModeWindowState : public wm::WindowState::State {
|
| // WM_STATE_TYPE{NORMAL, MINIMIZED, MAXIMIZED}.
|
| wm::WindowStateType current_state_type_;
|
|
|
| + // If true, do not update bounds.
|
| + bool defer_bounds_updates_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowState);
|
| };
|
|
|
|
|