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

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

Issue 2629573006: chromeos: Add Power device page to chrome://md-settings. (Closed)
Patch Set: update copyright year Created 3 years, 11 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
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 21d94c3ea8bc22f7a6b3876cf0353e26ea319839..33476e5a7a372473e1f4fc1e353f2dc4a9ac84b7 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
@@ -616,6 +616,12 @@ void AddDeviceStrings(content::WebUIDataSource* html_source) {
AddLocalizedStringsBulk(html_source, display_strings,
arraysize(display_strings));
+ LocalizedString power_strings[] = {
+ {"powerTitle", IDS_SETTINGS_POWER_TITLE},
+ };
+ AddLocalizedStringsBulk(html_source, power_strings,
+ arraysize(power_strings));
+
html_source->AddBoolean(
"enableTouchCalibrationSetting",
base::CommandLine::ForCurrentProcess()->HasSwitch(

Powered by Google App Engine
This is Rietveld 408576698