OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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-lock-screen' allows the user to change how they unlock their | 7 * 'settings-lock-screen' allows the user to change how they unlock their |
8 * device. | 8 * device. |
9 * | 9 * |
10 * Example: | 10 * Example: |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 * @private | 49 * @private |
50 */ | 50 */ |
51 writeUma_: { | 51 writeUma_: { |
52 type: Object, | 52 type: Object, |
53 value: function() { | 53 value: function() { |
54 return settings.recordLockScreenProgress; | 54 return settings.recordLockScreenProgress; |
55 }, | 55 }, |
56 }, | 56 }, |
57 | 57 |
58 /** | 58 /** |
59 * True if pin unlock settings should be displayed on this machine. | 59 * True if quick unlock settings should be displayed on this machine. |
60 * @private | 60 * @private |
61 */ | 61 */ |
62 pinUnlockEnabled_: { | 62 quickUnlockEnabled_: { |
63 type: Boolean, | 63 type: Boolean, |
64 value: function() { | 64 value: function() { |
65 return loadTimeData.getBoolean('pinUnlockEnabled'); | 65 return loadTimeData.getBoolean('pinUnlockEnabled'); |
jdufault
2017/05/04 21:03:45
You should rename the load time data as well.
sammiequon
2017/05/04 23:32:34
Done.
| |
66 }, | 66 }, |
67 readOnly: true, | 67 readOnly: true, |
68 }, | 68 }, |
69 | 69 |
70 /** | 70 /** |
71 * True if fingerprint unlock settings should be displayed on this machine. | 71 * True if fingerprint unlock settings should be displayed on this machine. |
72 * @private | 72 * @private |
73 */ | 73 */ |
74 fingerprintUnlockEnabled_: { | 74 fingerprintUnlockEnabled_: { |
75 type: Boolean, | 75 type: Boolean, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 /** | 320 /** |
321 * @param {boolean} easyUnlockEnabled | 321 * @param {boolean} easyUnlockEnabled |
322 * @param {boolean} proximityDetectionAllowed | 322 * @param {boolean} proximityDetectionAllowed |
323 * @private | 323 * @private |
324 */ | 324 */ |
325 getShowEasyUnlockToggle_: function( | 325 getShowEasyUnlockToggle_: function( |
326 easyUnlockEnabled, proximityDetectionAllowed) { | 326 easyUnlockEnabled, proximityDetectionAllowed) { |
327 return easyUnlockEnabled && proximityDetectionAllowed; | 327 return easyUnlockEnabled && proximityDetectionAllowed; |
328 }, | 328 }, |
329 }); | 329 }); |
OLD | NEW |