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

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

Issue 2681143004: MD Settings: in autofill section, change google-payment related entries to outlinks instead. (Closed)
Patch Set: fix unit tests Created 3 years, 10 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 e192458610ce401c227e3683675953e97be556d6..f45db567d61fbb2731813148d49c355cac1ff71c 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
@@ -75,10 +75,15 @@
$i18n{googlePayments}
</span>
</div>
- <paper-icon-button id="addressMenu" icon="cr:more-vert"
- tabindex$="[[tabIndex]]" alt="$i18n{overflowMenu}"
- on-tap="onAddressMenuTap_">
- </paper-icon-button>
+ <template is="dom-if" if="[[item.metadata.isLocal]]">
+ <paper-icon-button id="addressMenu" icon="cr:more-vert"
+ on-tap="onAddressMenuTap_" alt="$i18n{overflowMenu}">
+ </paper-icon-button>
+ </template>
+ <template is="dom-if" if="[[!item.metadata.isLocal]]">
+ <button is="paper-icon-button-light" class="icon-external"
+ on-tap="onRemoteEditAddressTap_" actionable></button>
+ </template>
</div>
</template>
</div>
@@ -91,7 +96,6 @@
<button id="menuEditAddress" class="dropdown-item"
on-tap="onMenuEditAddressTap_">$i18n{editAddress}</button>
<button id="menuRemoveAddress" class="dropdown-item"
- hidden$="[[!activeAddress.metadata.isLocal]]"
on-tap="onMenuRemoveAddressTap_">$i18n{removeAddress}</button>
</dialog>
<template is="dom-if" if="[[showAddressDialog_]]" restamp>
@@ -129,10 +133,15 @@
<div class="expiration-column">
<div id="creditCardExpiration"
class="expiration-date">[[expiration_(item)]]</div>
- <paper-icon-button id="creditCardMenu" icon="cr:more-vert"
- tabindex$="[[tabIndex]]" alt="$i18n{overflowMenu}"
- on-tap="onCreditCardMenuTap_">
- </paper-icon-button>
+ <template is="dom-if" if="[[item.metadata.isLocal]]">
+ <paper-icon-button id="creditCardMenu" icon="cr:more-vert"
+ on-tap="onCreditCardMenuTap_" alt="$i18n{overflowMenu}">
+ </paper-icon-button>
+ </template>
+ <template is="dom-if" if="[[!item.metadata.isLocal]]">
+ <button is="paper-icon-button-light" class="icon-external"
+ on-tap="onRemoteEditCreditCardTap_" actionable></button>
+ </template>
</div>
</div>
</template>
@@ -146,7 +155,6 @@
<button id="menuEditCreditCard" class="dropdown-item"
on-tap="onMenuEditCreditCardTap_">$i18n{editCreditCard}</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