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

Unified Diff: ash/common/wm_shell.cc

Issue 2113053003: Moves Shell::maximize_mode_controller() to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 99bda5c96f60c5b26e3e26131026ecf744bc0a84..caa128a896b221f4b347bcc5ffbb486501c74e3a 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -10,6 +10,7 @@
#include "ash/common/system/chromeos/session/logout_confirmation_controller.h"
#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/system/tray/system_tray_notifier.h"
+#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/common/wm/mru_window_tracker.h"
#include "ash/common/wm/overview/window_selector_controller.h"
#include "ash/common/wm_window.h"
@@ -121,4 +122,12 @@ void WmShell::DeleteMruWindowTracker() {
mru_window_tracker_.reset();
}
+void WmShell::CreateMaximizeModeController() {
James Cook 2016/07/01 20:09:09 nit: Match header file order
sky 2016/07/01 20:13:56 Done.
+ maximize_mode_controller_.reset(new MaximizeModeController);
+}
+
+void WmShell::DeleteMaximizeModeController() {
+ maximize_mode_controller_.reset();
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698