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

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

Issue 1841973004: [MD settings] theme name shown in sub-label, wallpaper chrome os only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 4 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
« no previous file with comments | « chrome/browser/resources/settings/basic_page/basic_page.html ('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 d08f28193c3dfccdb4d5622b6863a148b81dc6aa..78b67d41db4ea250a46102fad8863ab552dc7f2c 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
@@ -144,7 +144,6 @@ void AddAppearanceStrings(content::WebUIDataSource* html_source) {
LocalizedString localized_strings[] = {
{"appearancePageTitle", IDS_SETTINGS_APPEARANCE},
{"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM},
- {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER},
{"getThemes", IDS_SETTINGS_THEMES},
{"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
{"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON},
@@ -154,8 +153,11 @@ void AddAppearanceStrings(content::WebUIDataSource* html_source) {
{"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE},
{"themesGalleryUrl", IDS_THEMES_GALLERY_URL},
{"chooseFromWebStore", IDS_SETTINGS_WEB_STORE},
- {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP},
{"chooseFontsAndEncoding", IDS_SETTINGS_CHOOSE_FONTS_AND_ENCODING},
+#if defined(OS_CHROMEOS)
+ {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP},
+ {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER},
+#endif
};
AddLocalizedStringsBulk(html_source, localized_strings,
arraysize(localized_strings));
« no previous file with comments | « chrome/browser/resources/settings/basic_page/basic_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698