summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 5c1f704..2f6d724 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -297,6 +297,10 @@ void NewTabHTMLSource::StartDataRequest(const std::string& path,
l10n_util::GetString(IDS_NEW_TAB_WEB_RESOURCE_CACHE));
localized_strings.SetString(L"recentactivities",
l10n_util::GetString(IDS_NEW_TAB_RECENT_ACTIVITIES));
+ localized_strings.SetString(L"tipsandsuggestions",
+ l10n_util::GetString(IDS_NEW_TAB_TIPS));
+ localized_strings.SetString(L"defaulttipstitle",
+ l10n_util::GetString(IDS_NEW_TAB_DEFAULT_TIPS_TITLE));
localized_strings.SetString(L"downloads",
l10n_util::GetString(IDS_NEW_TAB_DOWNLOADS));
localized_strings.SetString(L"viewfullhistory",
@@ -1490,6 +1494,7 @@ bool NewTabUI::UseOldNewTabPage() {
return command_line->HasSwitch(switches::kOldNewTabPage);
}
+// static
bool NewTabUI::EnableWebResources() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kWebResources);