| Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| index 5b0d3c24f32699e743350222db929ee43f00b98b..d7a6229c9f661ea3022992fe1364aebd627ca288 100644
|
| --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| @@ -292,6 +292,8 @@ void NTPResourceCache::CreateNewTabHTML() {
|
| l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE));
|
| localized_strings.SetString("mostvisited",
|
| l10n_util::GetStringUTF16(IDS_NEW_TAB_MOST_VISITED));
|
| + localized_strings.SetString("suggestions",
|
| + l10n_util::GetStringUTF16(IDS_NEW_TAB_SUGGESTED));
|
| localized_strings.SetString("restoreThumbnailsShort",
|
| l10n_util::GetStringUTF16(IDS_NEW_TAB_RESTORE_THUMBNAILS_SHORT_LINK));
|
| localized_strings.SetString("recentlyclosed",
|
| @@ -341,6 +343,8 @@ void NTPResourceCache::CreateNewTabHTML() {
|
| localized_strings.SetBoolean("appInstallHintEnabled",
|
| CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kNtpAppInstallHint));
|
| + localized_strings.SetBoolean("isSuggestionsPageEnabled",
|
| + NewTabUI::IsSuggestionsPageEnabled());
|
|
|
| #if defined(OS_CHROMEOS)
|
| localized_strings.SetString("expandMenu",
|
|
|