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

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

Issue 2822613004: [M58] ash: Do not constrain window bounds if requested (Closed)
Patch Set: 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
« no previous file with comments | « ash/common/wm/default_state.cc ('k') | ash/common/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cea2689b228de4ab96d748f49721ea572491b894..4a369b7663b27420e9f124463cb2ad50b95ce7d4 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
@@ -271,7 +271,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;
« no previous file with comments | « ash/common/wm/default_state.cc ('k') | ash/common/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698