Chromium Code Reviews| 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 a64c01597686727a550e819e07149505f4df113a..8adc7c00fc061642c9b1eafa30808412b6a31c55 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 |
| @@ -942,6 +942,19 @@ void AddUsersStrings(content::WebUIDataSource* html_source) { |
| IDS_SETTINGS_USERS_ADD_USERS_LABEL); |
| } |
| +#if !defined(OS_CHROMEOS) |
| +void AddSystemStrings(content::WebUIDataSource* html_source) { |
| + html_source->AddLocalizedString("systemPageTitle", IDS_SETTINGS_SYSTEM); |
| + html_source->AddLocalizedString("backgroundAppsLabel", |
| + IDS_SETTINGS_SYSTEM_BACKGROUND_APPS_LABEL); |
|
stevenjb
2016/03/08 23:13:31
Exclude on osx?
Dan Beam
2016/03/09 02:31:31
Done.
|
| + html_source->AddLocalizedString( |
| + "hardwareAccelerationLabel", |
| + IDS_SETTINGS_SYSTEM_HARDWARE_ACCELERATION_LABEL); |
| + html_source->AddLocalizedString("changeProxySettings", |
| + IDS_SETTINGS_SYSTEM_PROXY_SETTINGS_BUTTON); |
| +} |
| +#endif |
| + |
| void AddWebContentStrings(content::WebUIDataSource* html_source) { |
| html_source->AddLocalizedString("webContent", IDS_SETTINGS_WEB_CONTENT); |
| html_source->AddLocalizedString("pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL); |
| @@ -1022,6 +1035,9 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source, |
| AddSearchEnginesStrings(html_source); |
| AddSearchStrings(html_source); |
| AddSiteSettingsStrings(html_source); |
| +#if !defined(OS_CHROMEOS) |
| + AddSystemStrings(html_source); |
| +#endif |
| AddUsersStrings(html_source); |
| AddWebContentStrings(html_source); |