Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: chrome/browser/resources/md_bookmarks/command_manager.html

Issue 2843903002: MD Bookmarks: Add keyboard shortcut support to bookmarks-command-manager (Closed)
Patch Set: More tests Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698