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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1162293005: Settings: Add initial implementation of Appearance page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes. Created 5 years, 7 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
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index c0fcd26b615862a06da0f2a38e9f9543da0ef844..093e42fb116f17b42aba3aa8117f53ef791e31dc 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -72,6 +72,17 @@ void AddA11yStrings(content::WebUIDataSource* html_source) {
IDS_SETTINGS_ACCESSIBILITY_ON_SCREEN_KEYBOARD_LABEL);
}
+void AddAppearanceStrings(content::WebUIDataSource* html_source) {
+ html_source->AddLocalizedString(
+ "appearancePageTitle", IDS_SETTINGS_APPEARANCE_PAGE_TITLE);
+ html_source->AddLocalizedString(
+ "appearanceShowHomeButtonLabel",
+ IDS_SETTINGS_APPEARANCE_SHOW_HOME_BUTTON_LABEL);
+ html_source->AddLocalizedString(
+ "appearanceShowBookmarksBarLabel",
+ IDS_SETTINGS_APPEARANCE_SHOW_BOOKMARKS_BAR_LABEL);
+}
+
void AddDownloadsStrings(content::WebUIDataSource* html_source) {
html_source->AddLocalizedString(
"downloadsPageTitle", IDS_MD_SETTINGS_DOWNLOADS_PAGE_TITLE);
@@ -153,6 +164,7 @@ namespace settings {
void AddLocalizedStrings(content::WebUIDataSource* html_source) {
AddA11yStrings(html_source);
+ AddAppearanceStrings(html_source);
AddDownloadsStrings(html_source);
AddDateTimeStrings(html_source);
#if defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698