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

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

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/network_connect_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0e804cc615404abda05cfe9535b16110a5c91d6b..35d1ac39eeb9d6ce2f451cad32ec5a6a16784888 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -90,8 +90,6 @@ WmShellMus::WmShellMus(
DCHECK(primary_root_window_);
immersive_handler_factory_.reset(new ImmersiveHandlerFactoryMus);
-
- SetKeyboardUI(KeyboardUIMus::Create(window_manager_->connector()));
}
WmShellMus::~WmShellMus() {
@@ -287,6 +285,10 @@ WmShellMus::CreateImmersiveFullscreenController() {
return base::MakeUnique<ImmersiveFullscreenController>();
}
+std::unique_ptr<KeyboardUI> WmShellMus::CreateKeyboardUI() {
+ return KeyboardUIMus::Create(window_manager_->connector());
+}
+
std::unique_ptr<KeyEventWatcher> WmShellMus::CreateKeyEventWatcher() {
// TODO: needs implementation for mus, http://crbug.com/649600.
NOTIMPLEMENTED();
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/network_connect_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698