| Index: chrome/browser/dom_ui/app_launcher_handler.cc
|
| diff --git a/chrome/browser/dom_ui/app_launcher_handler.cc b/chrome/browser/dom_ui/app_launcher_handler.cc
|
| index 01bffa9cea93ca62cbdacb37583c39790c17870c..ff7a6a01aab8cf9414902e0de8c5261ea14cdf0a 100644
|
| --- a/chrome/browser/dom_ui/app_launcher_handler.cc
|
| +++ b/chrome/browser/dom_ui/app_launcher_handler.cc
|
| @@ -186,6 +186,16 @@ void AppLauncherHandler::FillAppDictionary(DictionaryValue* dictionary) {
|
| dictionary->SetBoolean("disableAppWindowLaunch", true);
|
| dictionary->SetBoolean("disableCreateAppShortcut", true);
|
| #endif
|
| +
|
| + // We always show the launcher on Chrome OS. On Desktop Chrome, only show it
|
| + // if we've installed our default apps.
|
| +#if defined(OS_CHROMEOS)
|
| + dictionary->SetBoolean("showLauncher", true);
|
| +#else
|
| + dictionary->SetBoolean(
|
| + "showLauncher",
|
| + extensions_service_->default_apps()->GetDefaultAppsInstalled());
|
| +#endif
|
| }
|
|
|
| void AppLauncherHandler::HandleGetApps(const ListValue* args) {
|
|
|