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

Unified Diff: mash/shell/shell_application_delegate.cc

Issue 1645503004: [exp] ash: sysui for mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ash-in-mus
Patch Set: . Created 4 years, 11 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: mash/shell/shell_application_delegate.cc
diff --git a/mash/shell/shell_application_delegate.cc b/mash/shell/shell_application_delegate.cc
index 30a59191629fb4a35ffbc38b4bea2cb712fd6edc..44d1b6a098da56ae76cf65f0974e3b40eceaf72c 100644
--- a/mash/shell/shell_application_delegate.cc
+++ b/mash/shell/shell_application_delegate.cc
@@ -20,8 +20,12 @@ void ShellApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
app_ = app;
StartBrowserDriver();
StartWindowManager();
+#if 0
StartWallpaper();
StartShelf();
+#else
+ StartSysUI();
+#endif
StartQuickLaunch();
}
@@ -77,6 +81,12 @@ void ShellApplicationDelegate::StartQuickLaunch() {
base::Unretained(this)));
}
+void ShellApplicationDelegate::StartSysUI() {
+ StartRestartableService("mojo:ash_sysui",
+ base::Bind(&ShellApplicationDelegate::StartSysUI,
+ base::Unretained(this)));
+}
+
void ShellApplicationDelegate::StartScreenlock() {
StartRestartableService(
"mojo:screenlock",

Powered by Google App Engine
This is Rietveld 408576698