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

Unified Diff: services/ui/service.h

Issue 2323393003: Connect mojom::DisplayController from ash to ui. (Closed)
Patch Set: Add comments. 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
« no previous file with comments | « services/ui/public/interfaces/display/display_controller.mojom ('k') | services/ui/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index a0fb21a33c28f233f4269fdc0981e1c403cc56fc..9e1b6b2d2168a8479f5743e0186ee9662f82dfa0 100644
--- a/services/ui/service.h
+++ b/services/ui/service.h
@@ -167,7 +167,8 @@ class Service
UserIdToUserState user_id_to_user_state_;
- // Provides input-device information via Mojo IPC.
+ // Provides input-device information via Mojo IPC. Registers Mojo interfaces
+ // and must outlive shell::InterfaceRegistry.
InputDeviceServer input_device_server_;
bool test_config_;
@@ -175,7 +176,10 @@ class Service
std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
#endif
+ // Manages display hardware and handles display management. May register Mojo
+ // interfaces and must outlive shell::InterfaceRegistry.
std::unique_ptr<display::PlatformScreen> platform_screen_;
+
std::unique_ptr<ws::TouchController> touch_controller_;
IMERegistrarImpl ime_registrar_;
IMEServerImpl ime_server_;
« no previous file with comments | « services/ui/public/interfaces/display/display_controller.mojom ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698