Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
| 5 <link rel="import" href="/i18n_setup.html"> | |
|
Dan Beam
2016/10/27 22:45:09
why is this needed?
jdufault
2016/10/28 23:07:59
Removed, it was needed for the previous patch.
| |
| 5 <link rel="import" href="/settings_shared_css.html"> | 6 <link rel="import" href="/settings_shared_css.html"> |
| 6 <link rel="import" href="/settings_shared_css.html"> | 7 <link rel="import" href="/settings_shared_css.html"> |
| 7 | 8 |
| 8 <dom-module id="settings-password-prompt-dialog"> | 9 <dom-module id="settings-password-prompt-dialog"> |
| 9 <template> | 10 <template> |
| 10 <style include="settings-shared"> | 11 <style include="settings-shared"> |
| 11 #passwordInput { | 12 #passwordInput { |
| 12 display: inline-block; | 13 display: inline-block; |
| 13 } | 14 } |
| 14 | 15 |
| 15 .settings-box { | 16 .settings-box { |
| 16 padding: 0; | 17 padding: 0; |
| 17 } | 18 } |
| 18 </style> | 19 </style> |
| 19 | 20 |
| 20 <dialog is="cr-dialog" id="dialog" on-close="onClose_"> | 21 <dialog is="cr-dialog" id="dialog" on-close="onClose_" |
| 22 close-text="$i18n{close}"> | |
| 21 <div class="title">$i18n{passwordPromptTitle}</div> | 23 <div class="title">$i18n{passwordPromptTitle}</div> |
| 22 <div class="body"> | 24 <div class="body"> |
| 23 | 25 |
| 24 <div class="settings-box first">$i18n{passwordPromptEnterPassword}</div> | 26 <div class="settings-box first">$i18n{passwordPromptEnterPassword}</div> |
| 25 | 27 |
| 26 <paper-input id="passwordInput" type="password" autofocus | 28 <paper-input id="passwordInput" type="password" autofocus |
| 27 label="$i18n{passwordPromptPasswordLabel}" | 29 label="$i18n{passwordPromptPasswordLabel}" |
| 28 no-label-float | 30 no-label-float |
| 29 value="{{password_}}" | 31 value="{{password_}}" |
| 30 on-keydown="onKeydown_" | 32 on-keydown="onKeydown_" |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 42 disabled$="[[!enableConfirm_(password_, | 44 disabled$="[[!enableConfirm_(password_, |
| 43 passwordInvalid_)]]"> | 45 passwordInvalid_)]]"> |
| 44 $i18n{confirm} | 46 $i18n{confirm} |
| 45 </paper-button> | 47 </paper-button> |
| 46 </div> | 48 </div> |
| 47 </div> | 49 </div> |
| 48 </dialog> | 50 </dialog> |
| 49 </template> | 51 </template> |
| 50 <script src="password_prompt_dialog.js"></script> | 52 <script src="password_prompt_dialog.js"></script> |
| 51 </dom-module> | 53 </dom-module> |
| OLD | NEW |