| 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/iron-a11y-keys-behavior
/iron-a11y-keys-behavior.html"> |
| 4 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> | 5 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> |
| 5 <link rel="import" href="chrome://bookmarks/store_client.html"> | 6 <link rel="import" href="chrome://bookmarks/store_client.html"> |
| 6 | 7 |
| 7 <dom-module id="bookmarks-command-manager"> | 8 <dom-module id="bookmarks-command-manager"> |
| 8 <template> | 9 <template> |
| 9 <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_"> | 10 <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_"> |
| 10 <button class="dropdown-item" | 11 <button class="dropdown-item" |
| 11 command="edit" | 12 command="edit" |
| 12 hidden$="[[!canExecute('edit', menuIds_)]]" | 13 hidden$="[[!canExecute('edit', menuIds_)]]" |
| 13 on-tap="onCommandClick_"> | 14 on-tap="onCommandClick_"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 25 on-tap="onCommandClick_"> | 26 on-tap="onCommandClick_"> |
| 26 $i18n{menuDelete} | 27 $i18n{menuDelete} |
| 27 </button> | 28 </button> |
| 28 </dialog> | 29 </dialog> |
| 29 <template is="cr-lazy-render" id="editDialog"> | 30 <template is="cr-lazy-render" id="editDialog"> |
| 30 <bookmarks-edit-dialog></bookmarks-edit-dialog> | 31 <bookmarks-edit-dialog></bookmarks-edit-dialog> |
| 31 </template> | 32 </template> |
| 32 </template> | 33 </template> |
| 33 <script src="chrome://bookmarks/command_manager.js"></script> | 34 <script src="chrome://bookmarks/command_manager.js"></script> |
| 34 </dom-module> | 35 </dom-module> |
| OLD | NEW |