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

Unified Diff: apps/prefs.cc

Issue 12985002: Add a new App launcher promo to the apps page / NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: apps/prefs.cc
diff --git a/apps/prefs.cc b/apps/prefs.cc
index b883fbb456c23e89191057cfba300fc9a1834a88..58ced783fbbd63fc2dc1f274d5816b5f3432878a 100644
--- a/apps/prefs.cc
+++ b/apps/prefs.cc
@@ -20,6 +20,11 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
// GetIsAppLauncherEnabled().
registry->RegisterBooleanPref(prefs::kAppLauncherIsEnabled,
MaybeIsAppLauncherEnabled());
+ // Currently only available on Windows.
+#if defined(OS_WIN)
+ // Identifies whether we should show the app launcher promo or not.
+ registry->RegisterBooleanPref(prefs::kShowAppLauncherPromo, true);
+#endif
}
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698