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

Unified Diff: chrome/browser/resources/settings/people_page/fingerprint_list.html

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Modified the flags. Created 3 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/people_page/fingerprint_list.html
diff --git a/chrome/browser/resources/settings/people_page/fingerprint_list.html b/chrome/browser/resources/settings/people_page/fingerprint_list.html
new file mode 100644
index 0000000000000000000000000000000000000000..40ddf6228c87e81b29b7e29725b7e3d3661d01c6
--- /dev/null
+++ b/chrome/browser/resources/settings/people_page/fingerprint_list.html
@@ -0,0 +1,44 @@
+<link rel="import" href="chrome://resources/cr_elements/icons.html">
+<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.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-button/paper-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
+<link rel="import" href="/settings_shared_css.html">
+
+<dom-module id="settings-fingerprint-list">
+ <template>
+ <style include="settings-shared">
+ .warning-text {
+ font-style: italic;
+ }
+ </style>
+
+ <div>
Dan Beam 2017/01/10 23:23:45 what is this <div> doing for you?
sammiequon 2017/01/11 00:29:09 Done.
+ <div>$i18n{lockScreenRegisteredFingerprints}</div>
+ <iron-list id="fingerprintsList" items="[[fingerprints_]]">
Dan Beam 2017/01/10 23:23:45 indent off
sammiequon 2017/01/11 00:29:09 Done.
+ <template>
+ <div class="list-item">
+ <paper-input value="{{item}}"></paper-input>
+ <button is="paper-icon-button-light"
+ on-tap="onFingerprintDelete_">
+ <iron-icon icon="cr:delete"></iron-icon>
+ </button>
+ </paper-icon-button>
+ </div>
+ </template>
+ </iron-list>
Dan Beam 2017/01/10 23:23:45 do you want to place your iron-list in a <div clas
sammiequon 2017/01/11 00:29:09 The mocks are not yet finalized yet so I'm not cer
+ <div class="settings-box first radio-indent">
+ <paper-button class="action-button" on-tap="onAddFingerprint_"
+ disabled="[[!canAddNewFingerprint_(fingerprints_.length)]]">
+ [[getFingerprintButtonText_(fingerprints_.length)]]
+ </paper-button>
+ </div>
+ <div class="warning-text">
+ $i18n{lockScreenFingerprintWarning}
+ </div>
+ </div>
+ </template>
+ <script src="fingerprint_list.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698