| OLD | NEW |
| 1 <!-- TODO(crbug.com/603217): Use i18n instead of string literals. Figure out | 1 <!-- TODO(crbug.com/603217): Use i18n instead of string literals. Figure out |
| 2 what i18n to use for keypad, ie, does 1 ABC make | 2 what i18n to use for keypad, ie, does 1 ABC make |
| 3 sense in every scenario? --> | 3 sense in every scenario? --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| 7 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 7 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 8 <link rel="import" href="chrome://resources/html/polymer.html"> | 8 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 <div id="root"> | 177 <div id="root"> |
| 178 <div id="container-constrained-width"> | 178 <div id="container-constrained-width"> |
| 179 <div class="row first-row"> | 179 <div class="row first-row"> |
| 180 <paper-input id="pinInput" type="password" no-label-float | 180 <paper-input id="pinInput" type="password" no-label-float |
| 181 value="[[value]]" | 181 value="[[value]]" |
| 182 is-input-rtl$="[[isInputRtl_(value)]]" | 182 is-input-rtl$="[[isInputRtl_(value)]]" |
| 183 has-content$="[[hasInput_(value)]]" | 183 has-content$="[[hasInput_(value)]]" |
| 184 label="[[getInputPlaceholder_(enablePassword)]]" | 184 label="[[getInputPlaceholder_(enablePassword)]]" |
| 185 on-keydown="onInputKeyDown_" | 185 on-keydown="onInputKeyDown_" |
| 186 hidden="[[!showPinInput_]]"> | 186 hidden="[[!showPinInput_]]" autofocus> |
| 187 </paper-input> | 187 </paper-input> |
| 188 </div> | 188 </div> |
| 189 <content select="[problem]"></content> | 189 <content select="[problem]"></content> |
| 190 <div class="separator" hidden="[[showPinInput_]]"></div> | 190 <div class="separator" hidden="[[showPinInput_]]"></div> |
| 191 <div class="row keyboard"> | 191 <div class="row keyboard"> |
| 192 <paper-button class="digit-button" on-tap="onNumberTap_" value="1" | 192 <paper-button class="digit-button" on-tap="onNumberTap_" value="1" |
| 193 noink> | 193 noink> |
| 194 <inner-text>$i18n{pinKeyboard1}</inner-text> | 194 <inner-text>$i18n{pinKeyboard1}</inner-text> |
| 195 <paper-ripple> | 195 <paper-ripple> |
| 196 </paper-button> | 196 </paper-button> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 noink> | 257 noink> |
| 258 </paper-icon-button> | 258 </paper-icon-button> |
| 259 <paper-ripple> | 259 <paper-ripple> |
| 260 </div> | 260 </div> |
| 261 </div> | 261 </div> |
| 262 </div> | 262 </div> |
| 263 </div> | 263 </div> |
| 264 </template> | 264 </template> |
| 265 <script src="pin_keyboard.js"></script> | 265 <script src="pin_keyboard.js"></script> |
| 266 </dom-module> | 266 </dom-module> |
| OLD | NEW |