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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2170753005: Moves AcceleratorController from Shell to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no-find-copies Created 4 years, 5 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/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index 9b7aecd237877dfd3a6656626afcbc38486df501..c79a7ea037a23bd1b9247908d5ec73502e35af8b 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -104,6 +104,8 @@ WmShellMus::WmShellMus(std::unique_ptr<ShellDelegate> shell_delegate,
client_->AddObserver(this);
WmShell::Set(this);
+ SetAcceleratorController(base::MakeUnique<AcceleratorController>());
+
CreateMaximizeModeController();
CreateMruWindowTracker();

Powered by Google App Engine
This is Rietveld 408576698