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

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

Issue 2170713002: Use dom-repeat for addresses, credit cards, and exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Verify Template is a Template Created 4 years, 5 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/passwords_section.html » ('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 1a62aeb0446a3d0abe4bdc5c251426bd94008c90..c964538b8715c83bd9878cc8c15fb18208f716f7 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
@@ -1,7 +1,6 @@
<link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared_menu.html">
<link rel="import" href="chrome://resources/html/action_link.html">
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
<link rel="import" href="/passwords_and_forms_page/address_edit_dialog.html">
<link rel="import" href="/passwords_and_forms_page/credit_card_edit_dialog.html">
@@ -42,9 +41,8 @@
</style>
<div class="heading">$i18n{addresses}</div>
<div class="item-list">
- <iron-list id="addressList" items="[[addresses]]"
- class="vertical-list list-section">
- <template>
+ <div id="addressList" class="vertical-list list-section">
+ <template is="dom-repeat" items="[[addresses]]">
<div class="list-item two-line">
<div class="start">
<span id="addressSummary">[[address_(item)]]</span>
@@ -58,7 +56,7 @@
</paper-icon-button>
</div>
</template>
- </iron-list>
+ </div>
<div class="list-item link-item">
<a is="action-link" on-tap="onAddAddressTap_">$i18n{addAddress}</a>
</div>
@@ -80,9 +78,9 @@
<div class="type-column">$i18n{creditCardType}</div>
<div class="expiration-column">$i18n{creditCardExpiration}</div>
</div>
- <iron-list id="creditCardList" items="[[creditCards]]"
+ <div id="creditCardList"
class="vertical-list list-section list-with-header">
- <template>
+ <template is="dom-repeat" items="[[creditCards]]">
<div class="list-item two-line">
<div class="type-column">
<span id="creditCardLabel">[[item.metadata.summaryLabel]]</span>
@@ -105,7 +103,7 @@
</div>
</div>
</template>
- </iron-list>
+ </div>
<div class="list-item link-item">
<a is="action-link" on-tap="onAddCreditCardTap_">
$i18n{addCreditCard}
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698