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

Unified Diff: chrome/browser/resources/options/autofill_options.js

Issue 1578173005: Move Autofill Payments integration checkbox to the sync settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace bool with enum in tests Created 4 years, 11 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
Index: chrome/browser/resources/options/autofill_options.js
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
index bea6a1a3b649a09f75243ba38244a4bc9f3e9e52..7f300006b8049d31d45e99ad8f806243dafb0330 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -76,9 +76,6 @@ cr.define('options', function() {
return true; // Always follow the href
};
- this.walletIntegrationAvailableStateChanged_(
- loadTimeData.getBoolean('autofillWalletIntegrationAvailable'));
-
// TODO(jhawkins): What happens when Autofill is disabled whilst on the
// Autofill options page?
},
@@ -187,16 +184,6 @@ cr.define('options', function() {
AutofillEditCreditCardOverlay.loadCreditCard(creditCard);
PageManager.showPageByName('autofillEditCreditCard');
},
-
- /**
- * Toggles the visibility of the Wallet integration checkbox.
- * @param {boolean} available Whether the user has the option of using
- * Wallet data.
- * @private
- */
- walletIntegrationAvailableStateChanged_: function(available) {
- $('autofill-wallet-setting-area').hidden = !available;
- },
};
AutofillOptions.setAddressList = function(entries) {
@@ -215,11 +202,6 @@ cr.define('options', function() {
AutofillOptions.getInstance().showEditAddressOverlay_(address);
};
- AutofillOptions.walletIntegrationAvailableStateChanged = function(available) {
- AutofillOptions.getInstance().
- walletIntegrationAvailableStateChanged_(available);
- };
-
/**
* @param {CreditCardData} creditCard
*/
« no previous file with comments | « chrome/browser/resources/options/autofill_options.html ('k') | chrome/browser/resources/options/sync_setup_overlay.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698