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

Unified Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 1933913002: Add a very basic PIN UI implementation that is shared between lock and settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 8 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/people_page.js
diff --git a/chrome/browser/resources/settings/people_page/people_page.js b/chrome/browser/resources/settings/people_page/people_page.js
index e00704a80c2104fca6eeb1a9444fbad05e7e86a0..f3a50f12ccb8f7d22aa30f4f14877554609e061d 100644
--- a/chrome/browser/resources/settings/people_page/people_page.js
+++ b/chrome/browser/resources/settings/people_page/people_page.js
@@ -63,6 +63,18 @@ Polymer({
},
<if expr="chromeos">
+ /**
+ * True if Pin Unlock is allowed on this machine.
+ */
+ pinUnlockAllowed_: {
+ type: Boolean,
+ value: function() {
+ /* TODO(jdufault): Return a real value. */
tommycli 2016/05/02 16:11:27 We should probably return the real value before th
jdufault 2016/05/03 19:21:58 I think it makes sense to define this using a priv
tommycli 2016/05/04 19:29:02 Ah I forgot you were doing a private extension API
+ return false;
+ },
+ readOnly: true,
+ },
+
/** @private {!settings.EasyUnlockBrowserProxyImpl} */
easyUnlockBrowserProxy_: {
type: Object,

Powered by Google App Engine
This is Rietveld 408576698