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

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

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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/lock_window_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 003fd899b6204b3ba7b4d8ed28192c00e470831b..0a7721b4a09f8a2775b059a7270b26502e9c929f 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
@@ -264,10 +264,6 @@ bool MaximizeModeWindowManager::ShouldHandleWindow(WmWindow* window) {
if (window->IsAlwaysOnTop())
return false;
- // Windows in the dock should not be managed by us.
- 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())
« no previous file with comments | « ash/common/wm/lock_window_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