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

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

Issue 308683002: Move MaximizeModeWindowManager to the controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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/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 aac09b748e1a27134bf6effa93a9b3250d3181ce..e434cba55eccc77f06440168807c7ec7ce0b669b 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.cc
@@ -48,7 +48,6 @@ MaximizeModeWindowManager::~MaximizeModeWindowManager() {
EnableBackdropBehindTopWindowOnEachDisplay(false);
RemoveWindowCreationObservers();
RestoreAllWindows();
- Shell::GetInstance()->OnMaximizeModeEnded();
}
int MaximizeModeWindowManager::GetNumberOfManagedWindows() {
@@ -163,7 +162,6 @@ MaximizeModeWindowManager::MaximizeModeWindowManager()
MaximizeAllWindows();
AddWindowCreationObservers();
EnableBackdropBehindTopWindowOnEachDisplay(true);
- Shell::GetInstance()->OnMaximizeModeStarted();
Shell::GetScreen()->AddObserver(this);
Shell::GetInstance()->AddShellObserver(this);
Shell::GetInstance()->AddPreTargetHandler(this);
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.h ('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