Index: mash/shell/shell_application_delegate.cc |
diff --git a/mash/shell/shell_application_delegate.cc b/mash/shell/shell_application_delegate.cc |
index 1cb6e27a63da5102d83932e2d21a5001a1178794..f4948b5710c9616b279616d0f8e37aee95614329 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(); |
} |
@@ -97,6 +101,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", |