OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> |
6 <link rel="import" href="chrome://bookmarks/command_manager.html"> | 6 <link rel="import" href="chrome://bookmarks/command_manager.html"> |
7 <link rel="import" href="chrome://bookmarks/item.html"> | 7 <link rel="import" href="chrome://bookmarks/item.html"> |
8 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 8 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
9 <link rel="import" href="chrome://bookmarks/store_client.html"> | 9 <link rel="import" href="chrome://bookmarks/store_client.html"> |
10 <link rel="import" href="chrome://bookmarks/util.html"> | 10 <link rel="import" href="chrome://bookmarks/util.html"> |
(...skipping 22 matching lines...) Expand all Loading... | |
33 font-size: 14px; | 33 font-size: 14px; |
34 font-weight: 500; | 34 font-weight: 500; |
35 height: 100%; | 35 height: 100%; |
36 justify-content: center; | 36 justify-content: center; |
37 } | 37 } |
38 </style> | 38 </style> |
39 <iron-list items="[[displayedList_]]" id="bookmarksCard" | 39 <iron-list items="[[displayedList_]]" id="bookmarksCard" |
40 hidden$="[[isEmptyList_(displayedList_.length)]]"> | 40 hidden$="[[isEmptyList_(displayedList_.length)]]"> |
41 <template> | 41 <template> |
42 <bookmarks-item item-id="[[item.id]]" draggable="true" | 42 <bookmarks-item item-id="[[item.id]]" draggable="true" |
43 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"> | 43 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]" |
44 on-open-item-menu="onOpenItemMenu_"> | |
tsergeant
2017/06/22 07:12:28
Can this listener be moved to the <bookmarks-list>
calamity
2017/06/27 05:00:17
Done.
| |
44 </bookmarks-item> | 45 </bookmarks-item> |
45 </template> | 46 </template> |
46 </iron-list> | 47 </iron-list> |
47 <div id="message" class="centered-message" | 48 <div id="message" class="centered-message" |
48 hidden$="[[!isEmptyList_(displayedList_.length)]]"> | 49 hidden$="[[!isEmptyList_(displayedList_.length)]]"> |
49 [[emptyListMessage_(searchTerm_)]] | 50 [[emptyListMessage_(searchTerm_)]] |
50 </div> | 51 </div> |
51 </template> | 52 </template> |
52 <script src="chrome://bookmarks/list.js"></script> | 53 <script src="chrome://bookmarks/list.js"></script> |
53 </dom-module> | 54 </dom-module> |
OLD | NEW |