| OLD | NEW |
| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 type: Boolean, | 71 type: Boolean, |
| 72 value: false, | 72 value: false, |
| 73 }, | 73 }, |
| 74 // </if> | 74 // </if> |
| 75 | 75 |
| 76 /** @private */ | 76 /** @private */ |
| 77 showDisconnectDialog_: Boolean, | 77 showDisconnectDialog_: Boolean, |
| 78 | 78 |
| 79 // <if expr="chromeos"> | 79 // <if expr="chromeos"> |
| 80 /** | 80 /** |
| 81 * True if quick unlock settings should be displayed on this machine. | 81 * True if fingerprint settings should be displayed on this machine. |
| 82 * @private | 82 * @private |
| 83 */ | 83 */ |
| 84 quickUnlockEnabled_: { | 84 fingerprintUnlockEnabled_: { |
| 85 type: Boolean, | 85 type: Boolean, |
| 86 value: function() { | 86 value: function() { |
| 87 return loadTimeData.getBoolean('pinUnlockEnabled') || | 87 return loadTimeData.getBoolean('fingerprintUnlockEnabled'); |
| 88 loadTimeData.getBoolean('fingerprintUnlockEnabled'); | |
| 89 }, | 88 }, |
| 90 readOnly: true, | 89 readOnly: true, |
| 91 }, | 90 }, |
| 92 // </if> | 91 // </if> |
| 93 | 92 |
| 94 /** @private {!Map<string, string>} */ | 93 /** @private {!Map<string, string>} */ |
| 95 focusConfig_: { | 94 focusConfig_: { |
| 96 type: Object, | 95 type: Object, |
| 97 value: function() { | 96 value: function() { |
| 98 var map = new Map(); | 97 var map = new Map(); |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 | 445 |
| 447 /** | 446 /** |
| 448 * @param {!settings.SyncStatus} syncStatus | 447 * @param {!settings.SyncStatus} syncStatus |
| 449 * @return {boolean} Whether to show the "Sign in to Chrome" button. | 448 * @return {boolean} Whether to show the "Sign in to Chrome" button. |
| 450 * @private | 449 * @private |
| 451 */ | 450 */ |
| 452 showSignin_: function(syncStatus) { | 451 showSignin_: function(syncStatus) { |
| 453 return !!syncStatus.signinAllowed && !syncStatus.signedIn; | 452 return !!syncStatus.signinAllowed && !syncStatus.signedIn; |
| 454 }, | 453 }, |
| 455 }); | 454 }); |
| OLD | NEW |