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

Unified Diff: components/mus/mus_app.cc

Issue 1992443002: Add Mojo IPC based input-device service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_ddm
Patch Set: Clean up/move files. Created 4 years, 7 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: components/mus/mus_app.cc
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc
index 52525daea891078d7201a537a87d1258d1fcbec4..93d946f5ecb0fe3dd18b2cbd2b1331f196b84a1b 100644
--- a/components/mus/mus_app.cc
+++ b/components/mus/mus_app.cc
@@ -156,6 +156,8 @@ void MusApp::Initialize(shell::Connector* connector,
// in MUS, |InitializeForUI| will load the GL libraries.
ui::OzonePlatform::InitializeForUI();
+ input_device_server_.RegisterAsObserver();
+
// TODO(kylechar): We might not always want a US keyboard layout.
ui::KeyboardLayoutEngineManager::GetKeyboardLayoutEngine()
->SetCurrentLayoutByName("us");
@@ -192,6 +194,9 @@ bool MusApp::AcceptConnection(Connection* connection) {
connection->AddInterface<mojom::WindowTreeFactory>(this);
if (test_config_)
connection->AddInterface<WindowServerTest>(this);
+
+ input_device_server_.RegisterInterface(connection);
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698