Commit 7c36d6c5 authored by jhawkins@chromium.org's avatar jhawkins@chromium.org

DOMUI: Add the 'Mac address book' checkbox pref to the Mac Autofill page.

BUG=64800
TEST=none

Review URL: http://codereview.chromium.org/6314011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71895 0039d316-1c4b-4281-b951-d872f2087c98
parent 3c18fc3a
...@@ -84,6 +84,11 @@ void AutoFillOptionsHandler::GetLocalizedValues( ...@@ -84,6 +84,11 @@ void AutoFillOptionsHandler::GetLocalizedValues(
localized_strings->SetString("editCreditCardTitle", localized_strings->SetString("editCreditCardTitle",
l10n_util::GetStringUTF16(IDS_AUTOFILL_EDIT_CREDITCARD_CAPTION)); l10n_util::GetStringUTF16(IDS_AUTOFILL_EDIT_CREDITCARD_CAPTION));
#if defined(OS_MACOSX)
localized_strings->SetString("auxiliaryProfilesEnabled",
l10n_util::GetStringUTF16(IDS_AUTOFILL_USE_MAC_ADDRESS_BOOK));
#endif // defined(OS_MACOSX)
SetAddressOverlayStrings(localized_strings); SetAddressOverlayStrings(localized_strings);
SetCreditCardOverlayStrings(localized_strings); SetCreditCardOverlayStrings(localized_strings);
} }
......
<div id="autofill-options" class="page hidden"> <div id="autofill-options" class="page hidden">
<h1 i18n-content="autoFillOptionsTitle"></h1> <h1 i18n-content="autoFillOptionsTitle"></h1>
<if expr="pp_ifdef('darwin')">
<label class="checkbox">
<input pref="autofill.auxiliary_profiles_enabled" type="checkbox">
<span i18n-content="auxiliaryProfilesEnabled"></span>
</label>
</if>
<h3 i18n-content="autoFillAddresses"></h3> <h3 i18n-content="autoFillAddresses"></h3>
<div class="settings-list"> <div class="settings-list">
<list id="address-list"></list> <list id="address-list"></list>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment