| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
| 4 <link rel="import" href="chrome://bookmarks/item.html"> | 5 <link rel="import" href="chrome://bookmarks/item.html"> |
| 5 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 6 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| 6 <link rel="import" href="chrome://bookmarks/store_client.html"> | 7 <link rel="import" href="chrome://bookmarks/store_client.html"> |
| 7 <link rel="import" href="chrome://bookmarks/util.html"> | 8 <link rel="import" href="chrome://bookmarks/util.html"> |
| 8 | 9 |
| 9 <dom-module id="bookmarks-list"> | 10 <dom-module id="bookmarks-list"> |
| 10 <template> | 11 <template> |
| 11 <style include="shared-style"> | 12 <style include="shared-style"> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 26 .centered-message { | 27 .centered-message { |
| 27 align-items: center; | 28 align-items: center; |
| 28 color: #6e6e6e; | 29 color: #6e6e6e; |
| 29 display: flex; | 30 display: flex; |
| 30 font-size: 14px; | 31 font-size: 14px; |
| 31 font-weight: 500; | 32 font-weight: 500; |
| 32 height: 100%; | 33 height: 100%; |
| 33 justify-content: center; | 34 justify-content: center; |
| 34 } | 35 } |
| 35 </style> | 36 </style> |
| 36 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList_.length)]]"> | 37 <iron-list items="[[displayedList_]]" id="bookmarksCard" |
| 37 <template is="dom-repeat" items="[[displayedList_]]" as="id"> | 38 hidden$="[[isEmptyList_(displayedList_.length)]]"> |
| 38 <bookmarks-item item-id="[[id]]" draggable="true"> | 39 <template> |
| 40 <bookmarks-item item-id="[[item.id]]" draggable="true" |
| 41 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"> |
| 39 </bookmarks-item> | 42 </bookmarks-item> |
| 40 </template> | 43 </template> |
| 41 </div> | 44 </iron-list> |
| 42 <div id="message" class="centered-message" | 45 <div id="message" class="centered-message" |
| 43 hidden$="[[!isEmptyList_(displayedList_.length)]]"> | 46 hidden$="[[!isEmptyList_(displayedList_.length)]]"> |
| 44 [[emptyListMessage_(searchTerm_)]] | 47 [[emptyListMessage_(searchTerm_)]] |
| 45 </div> | 48 </div> |
| 46 </template> | 49 </template> |
| 47 <script src="chrome://bookmarks/list.js"></script> | 50 <script src="chrome://bookmarks/list.js"></script> |
| 48 </dom-module> | 51 </dom-module> |
| OLD | NEW |