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

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

Issue 2955563002: MD Bookmarks: Initial screenreader accessibility improvements (Closed)
Patch Set: Privatize and rebase Created 3 years, 5 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 2
3 <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_action_menu/cr_action _menu.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
5 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> 5 <link rel="import" href="chrome://resources/html/cr/ui/command.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html">
7 <link rel="import" href="chrome://bookmarks/dialog_focus_manager.html"> 7 <link rel="import" href="chrome://bookmarks/dialog_focus_manager.html">
8 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> 8 <link rel="import" href="chrome://bookmarks/edit_dialog.html">
9 <link rel="import" href="chrome://bookmarks/shared_style.html"> 9 <link rel="import" href="chrome://bookmarks/shared_style.html">
10 <link rel="import" href="chrome://bookmarks/store_client.html"> 10 <link rel="import" href="chrome://bookmarks/store_client.html">
(...skipping 10 matching lines...) Expand all
21 color: var(--secondary-text-color); 21 color: var(--secondary-text-color);
22 text-align: end; 22 text-align: end;
23 width: 3ch; 23 width: 3ch;
24 } 24 }
25 25
26 :host(:not([has-any-sublabel_])) .sublabel { 26 :host(:not([has-any-sublabel_])) .sublabel {
27 display: none; 27 display: none;
28 } 28 }
29 </style> 29 </style>
30 <template is="cr-lazy-render" id="dropdown"> 30 <template is="cr-lazy-render" id="dropdown">
31 <dialog is="cr-action-menu" on-mousedown="onMenuMousedown_"> 31 <dialog is="cr-action-menu" on-mousedown="onMenuMousedown_" role="menu">
32 <template is="dom-repeat" items="[[menuCommands_]]" as="command"> 32 <template is="dom-repeat" items="[[menuCommands_]]" as="command">
33 <button class="dropdown-item" 33 <button class="dropdown-item"
34 command$="[[command]]" 34 command$="[[command]]"
35 hidden$="[[!isCommandVisible_(command, menuIds_)]]" 35 hidden$="[[!isCommandVisible_(command, menuIds_)]]"
36 disabled$="[[!isCommandEnabled_(command, menuIds_)]]" 36 disabled$="[[!isCommandEnabled_(command, menuIds_)]]"
37 on-click="onCommandClick_"> 37 on-click="onCommandClick_"
38 role="menuitem">
38 <span class="label"> 39 <span class="label">
39 [[getCommandLabel_(command, menuIds_)]] 40 [[getCommandLabel_(command, menuIds_)]]
40 </span> 41 </span>
41 <span class="sublabel"> 42 <span class="sublabel">
42 [[getCommandSublabel_(command, menuIds_)]] 43 [[getCommandSublabel_(command, menuIds_)]]
43 </span> 44 </span>
44 </button> 45 </button>
45 <hr hidden$="[[!showDividerAfter_(command, menuIds_)]]"></hr> 46 <hr hidden$="[[!showDividerAfter_(command, menuIds_)]]"></hr>
46 </template> 47 </template>
47 </dialog> 48 </dialog>
(...skipping 11 matching lines...) Expand all
59 </paper-button> 60 </paper-button>
60 <paper-button class="action-button" on-tap="onOpenConfirmTap_"> 61 <paper-button class="action-button" on-tap="onOpenConfirmTap_">
61 $i18n{openDialogConfirm} 62 $i18n{openDialogConfirm}
62 </paper-button> 63 </paper-button>
63 </div> 64 </div>
64 </dialog> 65 </dialog>
65 </template> 66 </template>
66 </template> 67 </template>
67 <script src="chrome://bookmarks/command_manager.js"></script> 68 <script src="chrome://bookmarks/command_manager.js"></script>
68 </dom-module> 69 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/app.html ('k') | chrome/browser/resources/md_bookmarks/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698