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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1482573002: MD Settings: Adjusting reset-page dialogs styling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h" 10 #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 html_source->AddLocalizedString( 265 html_source->AddLocalizedString(
266 "powerwashTitle", IDS_OPTIONS_FACTORY_RESET); 266 "powerwashTitle", IDS_OPTIONS_FACTORY_RESET);
267 html_source->AddString( 267 html_source->AddString(
268 "powerwashDescription", 268 "powerwashDescription",
269 l10n_util::GetStringFUTF16( 269 l10n_util::GetStringFUTF16(
270 IDS_OPTIONS_FACTORY_RESET_DESCRIPTION, 270 IDS_OPTIONS_FACTORY_RESET_DESCRIPTION,
271 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); 271 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)));
272 html_source->AddLocalizedString( 272 html_source->AddLocalizedString(
273 "powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING); 273 "powerwashDialogTitle", IDS_OPTIONS_FACTORY_RESET_HEADING);
274 html_source->AddLocalizedString( 274 html_source->AddLocalizedString(
275 "powerwashDialogBody", IDS_OPTIONS_FACTORY_RESET_WARNING); 275 "powerwashDialogExplanation", IDS_OPTIONS_FACTORY_RESET_WARNING);
276 html_source->AddLocalizedString( 276 html_source->AddLocalizedString(
277 "powerwashDialogButton", IDS_RELAUNCH_BUTTON); 277 "powerwashDialogButton", IDS_RELAUNCH_BUTTON);
278 html_source->AddLocalizedString( 278 html_source->AddLocalizedString(
279 "powerwashLearnMoreUrl", IDS_FACTORY_RESET_HELP_URL); 279 "powerwashLearnMoreUrl", IDS_FACTORY_RESET_HELP_URL);
280 #endif 280 #endif
281 } 281 }
282 282
283 void AddDateTimeStrings(content::WebUIDataSource* html_source) { 283 void AddDateTimeStrings(content::WebUIDataSource* html_source) {
284 html_source->AddLocalizedString( 284 html_source->AddLocalizedString(
285 "dateTimePageTitle", IDS_SETTINGS_DATE_TIME); 285 "dateTimePageTitle", IDS_SETTINGS_DATE_TIME);
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 AddSyncStrings(html_source); 761 AddSyncStrings(html_source);
762 AddUsersStrings(html_source); 762 AddUsersStrings(html_source);
763 AddWebContentStrings(html_source); 763 AddWebContentStrings(html_source);
764 764
765 policy_indicator::AddLocalizedStrings(html_source); 765 policy_indicator::AddLocalizedStrings(html_source);
766 766
767 html_source->SetJsonPath(kLocalizedStringsFile); 767 html_source->SetJsonPath(kLocalizedStringsFile);
768 } 768 }
769 769
770 } // namespace settings 770 } // namespace settings
OLDNEW
« 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