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

Unified Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2869273011: [MD Bookmarks] Convert bookmark list to iron-list. (Closed)
Patch Set: add comment, fix closure, rebase Created 3 years, 7 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 | « chrome/browser/resources/md_bookmarks/item.js ('k') | chrome/browser/resources/md_bookmarks/list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_bookmarks/list.html
diff --git a/chrome/browser/resources/md_bookmarks/list.html b/chrome/browser/resources/md_bookmarks/list.html
index a408a4b8208bad1201645e4fd4d467f8ae4987db..1b72f7b17edecb41c896e2f80ff31073e90a1588 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -1,4 +1,5 @@
<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-light.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.html">
<link rel="import" href="chrome://bookmarks/item.html">
@@ -33,12 +34,14 @@
justify-content: center;
}
</style>
- <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList_.length)]]">
- <template is="dom-repeat" items="[[displayedList_]]" as="id">
- <bookmarks-item item-id="[[id]]" draggable="true">
+ <iron-list items="[[displayedList_]]" id="bookmarksCard"
+ hidden$="[[isEmptyList_(displayedList_.length)]]">
+ <template>
+ <bookmarks-item item-id="[[item.id]]" draggable="true"
+ tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]">
</bookmarks-item>
</template>
- </div>
+ </iron-list>
<div id="message" class="centered-message"
hidden$="[[!isEmptyList_(displayedList_.length)]]">
[[emptyListMessage_(searchTerm_)]]
« no previous file with comments | « chrome/browser/resources/md_bookmarks/item.js ('k') | chrome/browser/resources/md_bookmarks/list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698