diff options
Diffstat (limited to 'chrome/browser/resources/options/autofill_options.js')
-rw-r--r-- | chrome/browser/resources/options/autofill_options.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js index bea6a1a..7f30000 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 */ |