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

Unified Diff: chrome/browser/dom_ui/autofill_options_handler.cc

Issue 3171003: DOMUI: Add basic HTML for the AutoFill options page. (Closed)
Patch Set: 80 cols. Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/resources/options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/autofill_options_handler.cc
diff --git a/chrome/browser/dom_ui/autofill_options_handler.cc b/chrome/browser/dom_ui/autofill_options_handler.cc
index f592549282a07a15e5740f24b90e8e07d20ec5d8..db63e8bdeaade418b28beed3e51471bf256cf216 100644
--- a/chrome/browser/dom_ui/autofill_options_handler.cc
+++ b/chrome/browser/dom_ui/autofill_options_handler.cc
@@ -21,6 +21,22 @@ void AutoFillOptionsHandler::GetLocalizedValues(
localized_strings->SetString("autoFillOptionsTitle",
l10n_util::GetStringUTF16(IDS_AUTOFILL_OPTIONS_TITLE));
+ localized_strings->SetString(L"autoFillEnabled",
+ l10n_util::GetString(IDS_OPTIONS_AUTOFILL_ENABLE));
+ localized_strings->SetString(L"addressesHeader",
+ l10n_util::GetString(IDS_AUTOFILL_ADDRESSES_GROUP_NAME));
+ localized_strings->SetString(L"creditCardsHeader",
+ l10n_util::GetString(IDS_AUTOFILL_CREDITCARDS_GROUP_NAME));
+ localized_strings->SetString(L"addAddressButton",
+ l10n_util::GetString(IDS_AUTOFILL_ADD_ADDRESS_BUTTON));
+ localized_strings->SetString(L"addCreditCardButton",
+ l10n_util::GetString(IDS_AUTOFILL_ADD_CREDITCARD_BUTTON));
+ localized_strings->SetString(L"editButton",
+ l10n_util::GetString(IDS_AUTOFILL_EDIT_BUTTON));
+ localized_strings->SetString(L"deleteButton",
+ l10n_util::GetString(IDS_AUTOFILL_DELETE_BUTTON));
+ localized_strings->SetString(L"helpButton",
+ l10n_util::GetString(IDS_AUTOFILL_HELP_LABEL));
}
void AutoFillOptionsHandler::RegisterMessages() {
« no previous file with comments | « no previous file | chrome/browser/resources/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698