Chromium Code Reviews| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| index 47d9d61565d0206582bc26b577fbd7fd584e7336..233e570cbbe81bfb370c61d6ed272b323f081010 100644 |
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| @@ -1,5 +1,6 @@ |
| <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item-body.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html"> |
| @@ -14,10 +15,17 @@ |
| <template> |
| <paper-item class="separator"> |
| <paper-item-body two-line> |
| - <div id="origin">[[item.origin]]</div> |
| - <div id="username"secondary>[[item.username]]</div> |
| + <div id="shownUrl">[[item.loginPair.originUrl]]</div> |
|
Dan Beam
2016/01/27 00:17:45
why is "shownUrl" better?
hcarmona
2016/01/27 02:46:18
It's arbitrary, I've changed it to "originUrl" to
|
| + <div id="username"secondary>[[item.loginPair.username]]</div> |
| </paper-item-body> |
| - <div id="password">[[item.password]]</div> |
| + <!-- |
| + TODO(hcarmona): Update password so that it is editable. |
| + #password is type password and disabled in order to match UI. |
| + --> |
|
Dan Beam
2016/01/27 00:17:45
<!-- TODO(hcarmona):
... -->
IMO
hcarmona
2016/01/27 02:46:18
Done.
|
| + <paper-input id="password" type="password" disabled |
| + class="readonly-password" |
| + value="[[getEmptyPassword(item.numCharactersInPassword)]]"> |
|
Dan Beam
2016/01/27 00:17:45
nit: getEmptyPassword_ (private if possible)
hcarmona
2016/01/27 02:46:18
Done.
|
| + </paper-input> |
| </paper-item> |
| </template> |
| </iron-list> |