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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html

Issue 2920223005: Allow clearing local CC details (Closed)
Patch Set: Created 3 years, 6 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/settings/passwords_and_forms_page/autofill_section.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
index 2b93e6e9fda14220d0c59de24b43abd1a37f5b12..5288cc65da8ee39c7eb1eb98025f85691793c21f 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
@@ -160,12 +160,12 @@
<div class="expiration-column">
<div id="creditCardExpiration"
class="expiration-date">[[expiration_(item)]]</div>
- <template is="dom-if" if="[[item.metadata.isLocal]]">
+ <template is="dom-if" if="[[showDots_(item.metadata)]]">
<paper-icon-button id="creditCardMenu" icon="cr:more-vert"
on-tap="onCreditCardMenuTap_" title="$i18n{moreActions}">
</paper-icon-button>
</template>
- <template is="dom-if" if="[[!item.metadata.isLocal]]">
+ <template is="dom-if" if="[[!showDots_(item.metadata)]]">
<button is="paper-icon-button-light" class="icon-external"
on-tap="onRemoteEditCreditCardTap_" actionable></button>
</template>
@@ -182,6 +182,7 @@
<button id="menuEditCreditCard" class="dropdown-item"
on-tap="onMenuEditCreditCardTap_">$i18n{edit}</button>
<button id="menuRemoveCreditCard" class="dropdown-item"
+ hidden$="[[!activeCreditCard.metadata.isLocal]]"
on-tap="onMenuRemoveCreditCardTap_">$i18n{removeCreditCard}</button>
<button id="menuClearCreditCard" class="dropdown-item"
on-tap="onMenuClearCreditCardTap_"
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698