| 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 5ec7f887782a64ae45aecfed3e901df791867242..23b9015c4f7b779f499e7c12294c68b9115d72fb 100644
|
| --- a/chrome/browser/resources/settings/people_page/people_page.js
|
| +++ b/chrome/browser/resources/settings/people_page/people_page.js
|
| @@ -278,6 +278,18 @@ Polymer({
|
| onEasyUnlockTurnOffTap_: function() {
|
| this.$$('#easyUnlockTurnOffDialog').open();
|
| },
|
| +
|
| + /**
|
| + * @param {boolean} easyUnlockEnabled
|
| + * @param {boolean} easyUnlockProximityDetectionAllowed
|
| + * @return {string} The easy unlock row's class name.
|
| + * @private
|
| + */
|
| + getEasyUnlockClass_: function(easyUnlockEnabled,
|
| + easyUnlockProximityDetectionAllowed) {
|
| + return easyUnlockEnabled && easyUnlockProximityDetectionAllowed ?
|
| + 'three-line' : 'two-line';
|
| + },
|
| </if>
|
|
|
| /** @private */
|
|
|