Index: ash/common/wm_shell.cc |
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc |
index bab48cce697e7237b8977401a9b6de60aae3dc6a..85613582b8f8acc9d42b5304f93918303b6f013a 100644 |
--- a/ash/common/wm_shell.cc |
+++ b/ash/common/wm_shell.cc |
@@ -6,6 +6,7 @@ |
#include "ash/common/focus_cycler.h" |
#include "ash/common/keyboard/keyboard_ui.h" |
+#include "ash/common/shell_delegate.h" |
#include "ash/common/shell_window_ids.h" |
#include "ash/common/system/chromeos/session/logout_confirmation_controller.h" |
#include "ash/common/system/tray/system_tray_delegate.h" |
@@ -53,8 +54,9 @@ void WmShell::RemoveShellObserver(ShellObserver* observer) { |
shell_observers_.RemoveObserver(observer); |
} |
-WmShell::WmShell() |
- : focus_cycler_(new FocusCycler), |
+WmShell::WmShell(ShellDelegate* delegate) |
+ : delegate_(delegate), |
+ focus_cycler_(new FocusCycler), |
system_tray_notifier_(new SystemTrayNotifier), |
window_selector_controller_(new WindowSelectorController()) {} |