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

Unified Diff: services/ui/service.cc

Issue 2323393003: Connect mojom::DisplayController from ash to ui. (Closed)
Patch Set: Created 4 years, 3 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: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 025112dd8df4889de220aa557664fd148e3312d9..4a2f85aebb2b22c5d649f4e845882b630177171e 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -212,6 +212,8 @@ bool Service::OnConnect(const shell::Identity& remote_identity,
if (input_device_server_.IsRegisteredAsObserver())
input_device_server_.AddInterface(registry);
+ platform_screen_->AddInterfaces(registry);
dcheng 2016/09/12 18:04:30 Dumb question: how do we guarantee that platform_s
kylechar 2016/09/12 18:28:15 In this case platform_screen_ gets destroyed when
dcheng 2016/09/13 01:04:48 This would be nice to have documented somewhere. (
kylechar 2016/09/13 14:09:53 T'll add comments on platform_screen_ and input_de
+
#if defined(USE_OZONE)
ui::OzonePlatform::GetInstance()->AddInterfaces(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698