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

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, 10 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 cea2689b228de4ab96d748f49721ea572491b894..41214a788f93926edd31a4cdb8521a0ecbdc8152 100644
--- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc
@@ -265,10 +265,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())

Powered by Google App Engine
This is Rietveld 408576698