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

Unified Diff: ash/common/wm_shell.cc

Issue 2084503007: Moves WindowSelectorController onto WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_overview
Patch Set: cleanup 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 f0d1b68753d7d4523424468dbfa927277f6bdd99..f74477e63af4556f8993982b477cec17c857f9de 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -8,6 +8,7 @@
#include "ash/common/shell_window_ids.h"
#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/system/tray/wm_system_tray_notifier.h"
+#include "ash/common/wm/overview/window_selector_controller.h"
#include "ash/common/wm_window.h"
#include "base/logging.h"
@@ -66,4 +67,12 @@ void WmShell::SetSystemTrayDelegate(
}
}
+void WmShell::CreateWindowSelectorController() {
+ window_selector_controller_.reset(new WindowSelectorController());
James Cook 2016/06/22 22:46:19 WindowSelectorController does nothing in its const
sky 2016/06/22 23:19:39 I made construction immediate, but destruction has
+}
+
+void WmShell::DeleteWindowSelectorController() {
+ window_selector_controller_.reset();
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698