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

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

Issue 2806783002: ash: Do not constrain window bounds if requested (Closed)
Patch Set: Remove dead code 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/wm/default_state.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_window_manager.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/wm/maximize_mode/maximize_mode_window_manager.cc
index de5ba86bafe054448f9da8af000fc15cc0df48f7..36f7b6ab0e5b7b21c85a74b053e6102f05315213 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/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;
« no previous file with comments | « ash/wm/default_state.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698