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", |