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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Fixed patch set 15 errors. Created 4 years, 1 month 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 }, 57 },
58 58
59 <if expr="chromeos"> 59 <if expr="chromeos">
60 /** 60 /**
61 * True if quick unlock settings should be displayed on this machine. 61 * True if quick unlock settings should be displayed on this machine.
62 * @private 62 * @private
63 */ 63 */
64 quickUnlockEnabled_: { 64 quickUnlockEnabled_: {
65 type: Boolean, 65 type: Boolean,
66 value: function() { 66 value: function() {
67 return loadTimeData.getBoolean('quickUnlockEnabled'); 67 return loadTimeData.getBoolean('pinUnlockEnabled');
68 }, 68 },
69 readOnly: true, 69 readOnly: true,
70 }, 70 },
71 71
72 /** @private {!settings.EasyUnlockBrowserProxy} */ 72 /** @private {!settings.EasyUnlockBrowserProxy} */
73 easyUnlockBrowserProxy_: { 73 easyUnlockBrowserProxy_: {
74 type: Object, 74 type: Object,
75 value: function() { 75 value: function() {
76 return settings.EasyUnlockBrowserProxyImpl.getInstance(); 76 return settings.EasyUnlockBrowserProxyImpl.getInstance();
77 }, 77 },
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 /** 362 /**
363 * @param {!settings.SyncStatus} syncStatus 363 * @param {!settings.SyncStatus} syncStatus
364 * @return {boolean} Whether to show the "Sign in to Chrome" button. 364 * @return {boolean} Whether to show the "Sign in to Chrome" button.
365 * @private 365 * @private
366 */ 366 */
367 showSignin_: function(syncStatus) { 367 showSignin_: function(syncStatus) {
368 return !!syncStatus.signinAllowed && !syncStatus.signedIn; 368 return !!syncStatus.signinAllowed && !syncStatus.signedIn;
369 }, 369 },
370 }); 370 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698