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

Unified Diff: mash/package/mash_packaged_service.cc

Issue 2833093002: WIP: simplified display management in ash (Closed)
Patch Set: x Created 3 years, 8 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 | « mash/BUILD.gn ('k') | services/ui/display/screen_manager_forwarding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/package/mash_packaged_service.cc
diff --git a/mash/package/mash_packaged_service.cc b/mash/package/mash_packaged_service.cc
index b5f45e2df39a47579a9de15170152c30251a2f0d..06d8523e4ef49bbaa1a6f615c02224dd73e065c9 100644
--- a/mash/package/mash_packaged_service.cc
+++ b/mash/package/mash_packaged_service.cc
@@ -87,8 +87,11 @@ std::unique_ptr<service_manager::Service> MashPackagedService::CreateService(
}
#if defined(OS_CHROMEOS)
- if (name == ash::mojom::kServiceName)
- return base::WrapUnique(new ash::mus::WindowManagerApplication);
+ if (name == ash::mojom::kServiceName) {
+ const bool show_primary_host_on_connect = true;
+ return base::WrapUnique(
+ new ash::mus::WindowManagerApplication(show_primary_host_on_connect));
+ }
if (name == "accessibility_autoclick")
return base::WrapUnique(new ash::autoclick::AutoclickApplication);
if (name == "touch_hud")
« no previous file with comments | « mash/BUILD.gn ('k') | services/ui/display/screen_manager_forwarding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698