Chromium Code Reviews| Index: chrome/browser/dom_ui/shown_sections_handler.cc |
| diff --git a/chrome/browser/dom_ui/shown_sections_handler.cc b/chrome/browser/dom_ui/shown_sections_handler.cc |
| index 93a672fb7034bfe50c48c79400857aaeb66d7dc3..52d3ae644ea1c2a26687a3b79840f445fda2ce0d 100644 |
| --- a/chrome/browser/dom_ui/shown_sections_handler.cc |
| +++ b/chrome/browser/dom_ui/shown_sections_handler.cc |
| @@ -93,7 +93,13 @@ void ShownSectionsHandler::HandleSetShownSections(const ListValue* args) { |
| // static |
| void ShownSectionsHandler::RegisterUserPrefs(PrefService* pref_service) { |
| +#if defined(OS_CHROMEOS) |
| + // Default to have expanded APPS and all other secions are minimized. |
| + pref_service->RegisterIntegerPref(prefs::kNTPShownSections, |
| + APPS | MINIMIZED_THUMB | MINIMIZED_RECENT); |
|
Dmitry Polukhin
2010/11/30 20:06:55
I think if no app are installed, it will show all
|
| +#else |
| pref_service->RegisterIntegerPref(prefs::kNTPShownSections, THUMB); |
| +#endif |
| } |
| // static |