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

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

Issue 2079853002: Add Edit/Create Address Dialog to MD Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and reset polymer_resources.grdp Created 4 years, 5 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 } 684 }
685 685
686 void AddPasswordsAndFormsStrings(content::WebUIDataSource* html_source) { 686 void AddPasswordsAndFormsStrings(content::WebUIDataSource* html_source) {
687 LocalizedString localized_strings[] = { 687 LocalizedString localized_strings[] = {
688 {"overflowMenu", IDS_SETTINGS_OVERFLOW_MENU}, 688 {"overflowMenu", IDS_SETTINGS_OVERFLOW_MENU},
689 {"passwordsAndAutofillPageTitle", 689 {"passwordsAndAutofillPageTitle",
690 IDS_SETTINGS_PASSWORDS_AND_AUTOFILL_PAGE_TITLE}, 690 IDS_SETTINGS_PASSWORDS_AND_AUTOFILL_PAGE_TITLE},
691 {"autofill", IDS_SETTINGS_AUTOFILL}, 691 {"autofill", IDS_SETTINGS_AUTOFILL},
692 {"googlePayments", IDS_SETTINGS_GOOGLE_PAYMENTS}, 692 {"googlePayments", IDS_SETTINGS_GOOGLE_PAYMENTS},
693 {"addresses", IDS_SETTINGS_AUTOFILL_ADDRESSES_HEADING}, 693 {"addresses", IDS_SETTINGS_AUTOFILL_ADDRESSES_HEADING},
694 {"addAddressTitle", IDS_SETTINGS_AUTOFILL_ADDRESSES_ADD_TITLE},
695 {"editAddressTitle", IDS_SETTINGS_AUTOFILL_ADDRESSES_EDIT_TITLE},
696 {"addressCountry", IDS_SETTINGS_AUTOFILL_ADDRESSES_COUNTRY},
697 {"addressPhone", IDS_SETTINGS_AUTOFILL_ADDRESSES_PHONE},
698 {"addressEmail", IDS_SETTINGS_AUTOFILL_ADDRESSES_EMAIL},
694 {"addAddress", IDS_SETTINGS_AUTOFILL_ADD_ADDRESS_BUTTON}, 699 {"addAddress", IDS_SETTINGS_AUTOFILL_ADD_ADDRESS_BUTTON},
695 {"editAddress", IDS_SETTINGS_ADDRESS_EDIT}, 700 {"editAddress", IDS_SETTINGS_ADDRESS_EDIT},
696 {"removeAddress", IDS_SETTINGS_ADDRESS_REMOVE}, 701 {"removeAddress", IDS_SETTINGS_ADDRESS_REMOVE},
697 {"creditCards", IDS_SETTINGS_AUTOFILL_CREDIT_CARD_HEADING}, 702 {"creditCards", IDS_SETTINGS_AUTOFILL_CREDIT_CARD_HEADING},
698 {"addCreditCard", IDS_SETTINGS_AUTOFILL_ADD_CREDIT_CARD_BUTTON}, 703 {"addCreditCard", IDS_SETTINGS_AUTOFILL_ADD_CREDIT_CARD_BUTTON},
699 {"editCreditCard", IDS_SETTINGS_CREDIT_CARD_EDIT}, 704 {"editCreditCard", IDS_SETTINGS_CREDIT_CARD_EDIT},
700 {"removeCreditCard", IDS_SETTINGS_CREDIT_CARD_REMOVE}, 705 {"removeCreditCard", IDS_SETTINGS_CREDIT_CARD_REMOVE},
701 {"clearCreditCard", IDS_SETTINGS_CREDIT_CARD_CLEAR}, 706 {"clearCreditCard", IDS_SETTINGS_CREDIT_CARD_CLEAR},
702 {"creditCardType", IDS_SETTINGS_AUTOFILL_CREDIT_CARD_TYPE_COLUMN_LABEL}, 707 {"creditCardType", IDS_SETTINGS_AUTOFILL_CREDIT_CARD_TYPE_COLUMN_LABEL},
703 {"creditCardExpiration", IDS_SETTINGS_CREDIT_CARD_EXPIRATION_DATE}, 708 {"creditCardExpiration", IDS_SETTINGS_CREDIT_CARD_EXPIRATION_DATE},
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 #endif 1206 #endif
1202 AddUsersStrings(html_source); 1207 AddUsersStrings(html_source);
1203 AddWebContentStrings(html_source); 1208 AddWebContentStrings(html_source);
1204 1209
1205 policy_indicator::AddLocalizedStrings(html_source); 1210 policy_indicator::AddLocalizedStrings(html_source);
1206 1211
1207 html_source->SetJsonPath(kLocalizedStringsFile); 1212 html_source->SetJsonPath(kLocalizedStringsFile);
1208 } 1213 }
1209 1214
1210 } // namespace settings 1215 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698