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

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

Issue 1817123003: Implement the password edit UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 unified diff | Download patch
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 <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 {"autofill", IDS_SETTINGS_AUTOFILL}, 543 {"autofill", IDS_SETTINGS_AUTOFILL},
544 {"autofillDetail", IDS_SETTINGS_AUTOFILL_DETAIL}, 544 {"autofillDetail", IDS_SETTINGS_AUTOFILL_DETAIL},
545 {"passwords", IDS_SETTINGS_PASSWORDS}, 545 {"passwords", IDS_SETTINGS_PASSWORDS},
546 {"passwordsDetail", IDS_SETTINGS_PASSWORDS_DETAIL}, 546 {"passwordsDetail", IDS_SETTINGS_PASSWORDS_DETAIL},
547 {"savedPasswordsHeading", IDS_SETTINGS_PASSWORDS_SAVED_HEADING}, 547 {"savedPasswordsHeading", IDS_SETTINGS_PASSWORDS_SAVED_HEADING},
548 {"passwordExceptionsHeading", IDS_SETTINGS_PASSWORDS_EXCEPTIONS_HEADING}, 548 {"passwordExceptionsHeading", IDS_SETTINGS_PASSWORDS_EXCEPTIONS_HEADING},
549 {"deletePasswordException", IDS_SETTINGS_PASSWORDS_DELETE_EXCEPTION}, 549 {"deletePasswordException", IDS_SETTINGS_PASSWORDS_DELETE_EXCEPTION},
550 {"passwordMenu", IDS_SETTINGS_PASSWORDS_MENU}, 550 {"passwordMenu", IDS_SETTINGS_PASSWORDS_MENU},
551 {"editPassword", IDS_SETTINGS_PASSWORDS_EDIT}, 551 {"editPassword", IDS_SETTINGS_PASSWORDS_EDIT},
552 {"removePassword", IDS_SETTINGS_PASSWORDS_REMOVE}, 552 {"removePassword", IDS_SETTINGS_PASSWORDS_REMOVE},
553 {"editPasswordTitle", IDS_SETTINGS_PASSWORDS_EDIT_TITLE},
554 {"editPasswordWebsiteLabel", IDS_SETTINGS_PASSWORDS_WEBSITE},
555 {"editPasswordUsernameLabel", IDS_SETTINGS_PASSWORDS_USERNAME},
556 {"editPasswordPasswordLabel", IDS_SETTINGS_PASSWORDS_PASSWORD},
553 }; 557 };
554 AddLocalizedStringsBulk(html_source, localized_strings, 558 AddLocalizedStringsBulk(html_source, localized_strings,
555 arraysize(localized_strings)); 559 arraysize(localized_strings));
556 } 560 }
557 561
558 void AddPeopleStrings(content::WebUIDataSource* html_source) { 562 void AddPeopleStrings(content::WebUIDataSource* html_source) {
559 LocalizedString localized_strings[] = { 563 LocalizedString localized_strings[] = {
560 {"peoplePageTitle", IDS_SETTINGS_PEOPLE}, 564 {"peoplePageTitle", IDS_SETTINGS_PEOPLE},
561 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE}, 565 {"manageOtherPeople", IDS_SETTINGS_PEOPLE_MANAGE_OTHER_PEOPLE},
562 #if defined(OS_CHROMEOS) 566 #if defined(OS_CHROMEOS)
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 #endif 903 #endif
900 AddUsersStrings(html_source); 904 AddUsersStrings(html_source);
901 AddWebContentStrings(html_source); 905 AddWebContentStrings(html_source);
902 906
903 policy_indicator::AddLocalizedStrings(html_source); 907 policy_indicator::AddLocalizedStrings(html_source);
904 908
905 html_source->SetJsonPath(kLocalizedStringsFile); 909 html_source->SetJsonPath(kLocalizedStringsFile);
906 } 910 }
907 911
908 } // namespace settings 912 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698