| 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-icon-button/paper
-icon-button.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-input/paper-input
.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 6 <link rel="import" href="../icons.html"> | 6 <link rel="import" href="../icons.html"> |
| 7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
| 8 | 8 |
| 9 <dom-module id="password-edit-dialog"> | 9 <dom-module id="password-edit-dialog"> |
| 10 <template> | 10 <template> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 <paper-input id="usernameInput" label="$i18n{editPasswordUsernameLabel}" | 31 <paper-input id="usernameInput" label="$i18n{editPasswordUsernameLabel}" |
| 32 value="[[item.loginPair.username]]" readonly> | 32 value="[[item.loginPair.username]]" readonly> |
| 33 </paper-input> | 33 </paper-input> |
| 34 <div id="passwordGroup"> | 34 <div id="passwordGroup"> |
| 35 <paper-input id="passwordInput" | 35 <paper-input id="passwordInput" |
| 36 label="$i18n{editPasswordPasswordLabel}" | 36 label="$i18n{editPasswordPasswordLabel}" |
| 37 type="[[getPasswordInputType_(password)]]" | 37 type="[[getPasswordInputType_(password)]]" |
| 38 value="[[getPassword_(item, password)]]" readonly> | 38 value="[[getPassword_(item, password)]]" readonly> |
| 39 </paper-input> | 39 </paper-input> |
| 40 <paper-icon-button id="showPasswordButton" | 40 <paper-icon-button id="showPasswordButton" |
| 41 icon="settings:visibility" on-tap="onShowPasswordButtonTap_"> | 41 icon="settings:visibility" on-tap="onShowPasswordButtonTap_" |
| 42 title="[[showPasswordTitle_(password, |
| 43 '$i18nPolymer{hidePassword}','$i18nPolymer{showPassword}')]]"> |
| 42 </paper-icon-button> | 44 </paper-icon-button> |
| 43 </div> | 45 </div> |
| 44 </div> | 46 </div> |
| 45 <div class="button-container"> | 47 <div class="button-container"> |
| 46 <paper-button id="cancelButton" class="cancel-button" | 48 <paper-button id="cancelButton" class="cancel-button" |
| 47 on-tap="onCancelButtonTap_">$i18n{passwordsDone}</paper-button> | 49 on-tap="onCancelButtonTap_">$i18n{passwordsDone}</paper-button> |
| 48 </div> | 50 </div> |
| 49 </dialog> | 51 </dialog> |
| 50 </template> | 52 </template> |
| 51 <script src="password_edit_dialog.js"></script> | 53 <script src="password_edit_dialog.js"></script> |
| 52 </dom-module> | 54 </dom-module> |
| OLD | NEW |