| 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://resources/polymer/v1_0/iron-a11y-keys-behavior
    /iron-a11y-keys-behavior.html"> | 
| 5 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> | 5 <link rel="import" href="chrome://bookmarks/edit_dialog.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 | 8 | 
| 8 <dom-module id="bookmarks-command-manager"> | 9 <dom-module id="bookmarks-command-manager"> | 
| 9   <template> | 10   <template> | 
|  | 11     <style include="shared-style"></style> | 
| 10     <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_"> | 12     <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_"> | 
| 11       <button class="dropdown-item" | 13       <template is="dom-repeat" items="[[menuCommands_]]" as="command"> | 
| 12           command="edit" | 14         <button class="dropdown-item" | 
| 13           hidden$="[[!canExecute('edit', menuIds_)]]" | 15             command$="[[command]]" | 
| 14           on-tap="onCommandClick_"> | 16             hidden$="[[!isCommandVisible_(command, menuIds_)]]" | 
| 15         [[getEditActionLabel_(menuIds_)]] | 17             disabled$="[[!isCommandEnabled_(command, menuIds_)]]" | 
| 16       </button> | 18             on-tap="onCommandClick_"> | 
| 17       <button class="dropdown-item" | 19           [[getCommandLabel_(command, menuIds_)]] | 
| 18           command="copy" | 20         </button> | 
| 19           hidden$="[[!canExecute('copy', menuIds_)]]" | 21         <hr hidden$="[[!showDividerAfter_(command)]]"></hr> | 
| 20           on-tap="onCommandClick_"> | 22       </template> | 
| 21         $i18n{menuCopyURL} |  | 
| 22       </button> |  | 
| 23       <button class="dropdown-item" |  | 
| 24           command="delete" |  | 
| 25           hidden$="[[!canExecute('delete', menuIds_)]]" |  | 
| 26           on-tap="onCommandClick_"> |  | 
| 27         $i18n{menuDelete} |  | 
| 28       </button> |  | 
| 29     </dialog> | 23     </dialog> | 
| 30     <template is="cr-lazy-render" id="editDialog"> | 24     <template is="cr-lazy-render" id="editDialog"> | 
| 31       <bookmarks-edit-dialog></bookmarks-edit-dialog> | 25       <bookmarks-edit-dialog></bookmarks-edit-dialog> | 
| 32     </template> | 26     </template> | 
| 33   </template> | 27   </template> | 
| 34   <script src="chrome://bookmarks/command_manager.js"></script> | 28   <script src="chrome://bookmarks/command_manager.js"></script> | 
| 35 </dom-module> | 29 </dom-module> | 
| OLD | NEW | 
|---|