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

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

Issue 2834493006: MD Bookmarks: Pull context menu into separate element (Closed)
Patch Set: Rebase 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
(Empty)
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">
3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
4 <link rel="import" href="chrome://bookmarks/edit_dialog.html">
5 <link rel="import" href="chrome://bookmarks/store_client.html">
6
7 <dom-module id="bookmarks-command-manager">
8 <template>
9 <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_">
10 <button class="dropdown-item"
11 command="edit"
12 hidden$="[[!canExecute('edit', menuIds_)]]"
13 on-tap="onCommandClick_">
14 [[getEditActionLabel_(menuIds_)]]
15 </button>
16 <button class="dropdown-item"
17 command="copy"
18 hidden$="[[!canExecute('copy', menuIds_)]]"
19 on-tap="onCommandClick_">
20 $i18n{menuCopyURL}
21 </button>
22 <button class="dropdown-item"
23 command="delete"
24 hidden$="[[!canExecute('delete', menuIds_)]]"
25 on-tap="onCommandClick_">
26 $i18n{menuDelete}
27 </button>
28 </dialog>
29 <template is="cr-lazy-render" id="editDialog">
30 <bookmarks-edit-dialog></bookmarks-edit-dialog>
31 </template>
32 </template>
33 <script src="chrome://bookmarks/command_manager.js"></script>
34 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/app.html ('k') | chrome/browser/resources/md_bookmarks/command_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698