Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2214)

Unified Diff: ash/common/wm/maximize_mode/maximize_mode_window_manager.cc

Issue 2806783002: ash: Do not constrain window bounds if requested (Closed)
Patch Set: Fix tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d4a3e88b044d4991c5ee76484f1875e24a4c4220..ef2e85ee22093e2f496ab9a170a651301ea3da7f 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
@@ -266,7 +266,7 @@ bool MaximizeModeWindowManager::ShouldHandleWindow(WmWindow* window) {
// 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())
+ if (window->GetWindowState()->allow_set_bounds_direct())
return false;
return window->GetType() == ui::wm::WINDOW_TYPE_NORMAL;

Powered by Google App Engine
This is Rietveld 408576698