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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Issue 1591053002: Add a password handler to get the list of passwords in md-settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
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..16582cf8b53f0a5e0ac5a278941a747076f3a7e8 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,16 @@
<template>
<paper-item class="separator">
<paper-item-body two-line>
- <div id="origin">[[item.origin]]</div>
+ <div id="shownUrl">[[item.shownUrl]]</div>
<div id="username"secondary>[[item.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.
+ -->
+ <paper-input id="password" type="password" disabled
+ class="readonly-password" value="[[item.password]]">
+ </paper-input>
</paper-item>
</template>
</iron-list>

Powered by Google App Engine
This is Rietveld 408576698