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

Side by Side Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Rebased. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-people-page' is the settings page containing sign-in settings. 7 * 'settings-people-page' is the settings page containing sign-in settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-people-page', 10 is: 'settings-people-page',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 }, 82 },
83 83
84 // <if expr="chromeos"> 84 // <if expr="chromeos">
85 /** 85 /**
86 * True if quick unlock settings should be displayed on this machine. 86 * True if quick unlock settings should be displayed on this machine.
87 * @private 87 * @private
88 */ 88 */
89 quickUnlockEnabled_: { 89 quickUnlockEnabled_: {
90 type: Boolean, 90 type: Boolean,
91 value: function() { 91 value: function() {
92 return loadTimeData.getBoolean('pinUnlockEnabled'); 92 return loadTimeData.getBoolean('pinUnlockEnabled') ||
93 loadTimeData.getBoolean('fingerprintUnlockEnabled');
93 }, 94 },
94 readOnly: true, 95 readOnly: true,
95 }, 96 },
96 97
97 /** @private {!settings.EasyUnlockBrowserProxy} */ 98 /** @private {!settings.EasyUnlockBrowserProxy} */
98 easyUnlockBrowserProxy_: { 99 easyUnlockBrowserProxy_: {
99 type: Object, 100 type: Object,
100 value: function() { 101 value: function() {
101 return settings.EasyUnlockBrowserProxyImpl.getInstance(); 102 return settings.EasyUnlockBrowserProxyImpl.getInstance();
102 }, 103 },
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 511
511 /** 512 /**
512 * @param {!settings.SyncStatus} syncStatus 513 * @param {!settings.SyncStatus} syncStatus
513 * @return {boolean} Whether to show the "Sign in to Chrome" button. 514 * @return {boolean} Whether to show the "Sign in to Chrome" button.
514 * @private 515 * @private
515 */ 516 */
516 showSignin_: function(syncStatus) { 517 showSignin_: function(syncStatus) {
517 return !!syncStatus.signinAllowed && !syncStatus.signedIn; 518 return !!syncStatus.signinAllowed && !syncStatus.signedIn;
518 }, 519 },
519 }); 520 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/lock_screen.js ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698