| 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_lazy_render/cr_lazy_r
ender.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
| 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/edit_dialog.html"> | 6 <link rel="import" href="chrome://bookmarks/edit_dialog.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 17 matching lines...) Expand all Loading... |
| 28 .centered-message { | 28 .centered-message { |
| 29 align-items: center; | 29 align-items: center; |
| 30 color: #6e6e6e; | 30 color: #6e6e6e; |
| 31 display: flex; | 31 display: flex; |
| 32 font-size: 14px; | 32 font-size: 14px; |
| 33 font-weight: 500; | 33 font-weight: 500; |
| 34 height: 100%; | 34 height: 100%; |
| 35 justify-content: center; | 35 justify-content: center; |
| 36 } | 36 } |
| 37 </style> | 37 </style> |
| 38 <dialog is="cr-action-menu" id="dropdown"> | 38 <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_"> |
| 39 <button class="dropdown-item" on-tap="onEditTap_"> | 39 <button class="dropdown-item" on-tap="onEditTap_"> |
| 40 [[getEditActionLabel_(menuItem_)]] | 40 [[getEditActionLabel_(menuItem_)]] |
| 41 </button> | 41 </button> |
| 42 <button class="dropdown-item" on-tap="onCopyURLTap_" | 42 <button class="dropdown-item" on-tap="onCopyURLTap_" |
| 43 hidden$="[[!menuItem_.url]]"> | 43 hidden$="[[!menuItem_.url]]"> |
| 44 $i18n{menuCopyURL} | 44 $i18n{menuCopyURL} |
| 45 </button> | 45 </button> |
| 46 <button class="dropdown-item" on-tap="onDeleteTap_"> | 46 <button class="dropdown-item" on-tap="onDeleteTap_"> |
| 47 $i18n{menuDelete} | 47 $i18n{menuDelete} |
| 48 </button> | 48 </button> |
| 49 </dialog> | 49 </dialog> |
| 50 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList_.length)]]"> | 50 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList_.length)]]"> |
| 51 <template is="dom-repeat" items="[[displayedList_]]" as="id"> | 51 <template is="dom-repeat" items="[[displayedList_]]" as="id"> |
| 52 <bookmarks-item item-id="[[id]]" draggable="true"> | 52 <bookmarks-item item-id="[[id]]" draggable="true"> |
| 53 </bookmarks-item> | 53 </bookmarks-item> |
| 54 </template> | 54 </template> |
| 55 </div> | 55 </div> |
| 56 <div id="message" class="centered-message" | 56 <div id="message" class="centered-message" |
| 57 hidden$="[[!isEmptyList_(displayedList_.length)]]"> | 57 hidden$="[[!isEmptyList_(displayedList_.length)]]"> |
| 58 [[emptyListMessage_(searchTerm_)]] | 58 [[emptyListMessage_(searchTerm_)]] |
| 59 </div> | 59 </div> |
| 60 <template is="cr-lazy-render" id="editDialog"> | 60 <template is="cr-lazy-render" id="editDialog"> |
| 61 <bookmarks-edit-dialog></bookmarks-edit-dialog> | 61 <bookmarks-edit-dialog></bookmarks-edit-dialog> |
| 62 </template> | 62 </template> |
| 63 </template> | 63 </template> |
| 64 <script src="chrome://bookmarks/list.js"></script> | 64 <script src="chrome://bookmarks/list.js"></script> |
| 65 </dom-module> | 65 </dom-module> |
| OLD | NEW |