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

Side by Side Diff: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html

Issue 2441043004: Accessibility fixes for quick unlock settings. (Closed)
Patch Set: Initial patch Created 4 years, 1 month 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/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 6
6 <dom-module id="cr-dialog"> 7 <dom-module id="cr-dialog">
7 <template> 8 <template>
8 <style> 9 <style>
9 :host { 10 :host {
10 border: 0; 11 border: 0;
11 border-radius: 2px; 12 border-radius: 2px;
12 bottom: 0; 13 bottom: 0;
13 color: inherit; 14 color: inherit;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 :host ::content .footer { 86 :host ::content .footer {
86 background-color: var(--paper-grey-200); 87 background-color: var(--paper-grey-200);
87 border-bottom-left-radius: inherit; 88 border-bottom-left-radius: inherit;
88 border-bottom-right-radius: inherit; 89 border-bottom-right-radius: inherit;
89 margin: 0; 90 margin: 0;
90 padding: 12px 20px; 91 padding: 12px 20px;
91 } 92 }
92 </style> 93 </style>
93 <div class="title-container"> 94 <div class="title-container">
94 <content select=".title"></content> 95 <content select=".title"></content>
95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"> 96 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"
97 alt$="[[getCloseA11yText_()]]">
tommycli 2016/10/25 18:13:50 Can you use the $i18n{} macro here?
jdufault 2016/10/26 22:38:36 Nope :(. The other files in cr_elements/* use the
tommycli 2016/10/27 00:13:25 Ah. A little gross, but if the other cr_elements d
Dan Beam 2016/10/27 01:25:48 which other elements? the ones i've used generall
jdufault 2016/10/27 19:13:55 cr_policy_indicator_behavior.js, cr_network_select
96 </paper-icon-button> 98 </paper-icon-button>
97 </div> 99 </div>
98 <div class="body-container"> 100 <div class="body-container">
99 <content select=".body"></content> 101 <content select=".body"></content>
100 </div> 102 </div>
101 <content select=".button-container"></content> 103 <content select=".button-container"></content>
102 <content select=".footer"></content> 104 <content select=".footer"></content>
103 </template> 105 </template>
104 <script src="cr_dialog.js"></script> 106 <script src="cr_dialog.js"></script>
105 </dom-module> 107 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698