| Index: ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| diff --git a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| index bb97c7d6620c0839f2e64afb25d3b5ea3efe000a..3d0ea92f86cd16b0851dfe9ccc992063b9df4116 100644
|
| --- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| +++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| @@ -228,6 +228,11 @@ bool MaximizeModeWindowManager::ShouldHandleWindow(WmWindow* window) {
|
| if (window->GetWindowState()->IsDocked())
|
| return false;
|
|
|
| + // If the changing bounds in the maximized/fullscreen is allowed, then
|
| + // let the client manage it even in maximized mode.
|
| + if (window->GetWindowState()->allow_set_bounds_in_maximized())
|
| + return false;
|
| +
|
| return window->GetType() == ui::wm::WINDOW_TYPE_NORMAL;
|
| }
|
|
|
|
|