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

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

Issue 858053003: Minor changes to still-unfinal chrome://settings/autofill wallet UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dont return void and add include Created 5 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 49ce81fb11baafc704298f0122ac9f995e2d4f9e..ce9775dca6772294bc1ea954549094d4e81623d0 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -89,8 +89,10 @@ cr.define('options', function() {
return true; // Always follow the href
};
- $('autofill-wallet-card-area').hidden =
- !loadTimeData.getBoolean('enableAutofillWalletIntegration');
+ var enableWalletIntegration =
+ loadTimeData.getBoolean('enableAutofillWalletIntegration');
+ $('autofill-wallet-remask-cards-area').hidden = !enableWalletIntegration;
+ $('autofill-wallet-setting-area').hidden = !enableWalletIntegration;
// TODO(estade): there should probably be some indication of success.
$('remask-server-cards-link').onclick = function(event) {
chrome.send('remaskServerCards');
« no previous file with comments | « chrome/browser/resources/options/autofill_options.html ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698