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/cr_elements/cr_action_menu/cr_action
_menu.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
9 <link rel="import" href="chrome://bookmarks/item.html"> | 9 <link rel="import" href="chrome://bookmarks/item.html"> |
10 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 10 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| 11 <link rel="import" href="chrome://bookmarks/store_client.html"> |
| 12 <link rel="import" href="chrome://bookmarks/util.html"> |
11 | 13 |
12 <dom-module id="bookmarks-list"> | 14 <dom-module id="bookmarks-list"> |
13 <template> | 15 <template> |
14 <style include="shared-style cr-shared-style"> | 16 <style include="shared-style cr-shared-style"> |
15 :host { | 17 :host { |
16 padding: 20px 32px; | 18 padding: 20px 32px; |
17 } | 19 } |
18 | 20 |
19 #bookmarksCard { | 21 #bookmarksCard { |
20 @apply(--shadow-elevation-2dp); | 22 @apply(--shadow-elevation-2dp); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> | 66 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> |
65 $i18n{cancelEdit} | 67 $i18n{cancelEdit} |
66 </paper-button> | 68 </paper-button> |
67 <paper-button class="action-button" on-tap="onSaveEditTap_" | 69 <paper-button class="action-button" on-tap="onSaveEditTap_" |
68 id='saveButton'> | 70 id='saveButton'> |
69 $i18n{saveEdit} | 71 $i18n{saveEdit} |
70 </paper-button> | 72 </paper-button> |
71 </div> | 73 </div> |
72 </dialog> | 74 </dialog> |
73 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList.length)]]"> | 75 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList.length)]]"> |
74 <template is="dom-repeat" items="[[displayedList]]" as="item"> | 76 <template is="dom-repeat" items="[[displayedList]]" as="id"> |
75 <bookmarks-item item="[[item]]" | 77 <bookmarks-item item-id="[[id]]"> |
76 is-selected-item="[[item.isSelectedItem]]"> | |
77 </bookmarks-item> | 78 </bookmarks-item> |
78 </template> | 79 </template> |
79 </div> | 80 </div> |
80 <div class="centered-message" | 81 <div class="centered-message" |
81 hidden$="[[!isEmptyList_(displayedList.length)]]"> | 82 hidden$="[[!isEmptyList_(displayedList.length)]]"> |
82 [[emptyListMessage_(searchTerm)]] | 83 [[emptyListMessage_(searchTerm)]] |
83 </div> | 84 </div> |
84 </template> | 85 </template> |
85 <script src="chrome://bookmarks/list.js"></script> | 86 <script src="chrome://bookmarks/list.js"></script> |
86 </dom-module> | 87 </dom-module> |
OLD | NEW |