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

Unified Diff: chrome/app/mash/embedded_services.cc

Issue 2840043003: chromeos: Makes mushrome use simplified display management (Closed)
Patch Set: merge 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
Index: chrome/app/mash/embedded_services.cc
diff --git a/chrome/app/mash/embedded_services.cc b/chrome/app/mash/embedded_services.cc
index 65ef4dae14b75839b9400443d0beecf285d40251..88f5152aa5fd36d5c32dbd3811331f2fb8c7487d 100644
--- a/chrome/app/mash/embedded_services.cc
+++ b/chrome/app/mash/embedded_services.cc
@@ -31,8 +31,11 @@
std::unique_ptr<service_manager::Service> CreateEmbeddedMashService(
const std::string& service_name) {
#if defined(OS_CHROMEOS)
- if (service_name == ash::mojom::kServiceName)
- return base::MakeUnique<ash::mus::WindowManagerApplication>();
+ if (service_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 (service_name == "accessibility_autoclick")
return base::MakeUnique<ash::autoclick::AutoclickApplication>();
if (service_name == "touch_hud")

Powered by Google App Engine
This is Rietveld 408576698