| 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 3e2b9625689df0fb0e8e26bee1589d8556d4e0b2..f393fd618fcb21b47bc23e0a4e6077ff62ca883b 100644
|
| --- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| +++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
|
| @@ -227,6 +227,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;
|
| }
|
|
|
|
|