| Index: chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
|
| diff --git a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
|
| index 7a5f37e296e0b9aae08f28d49024ad2248c726ad..e11f0e6f84775d9b56daecfefb5e3c253b85e46f 100644
|
| --- a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
|
| +++ b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js
|
| @@ -13,10 +13,10 @@ cr.define('options', function() {
|
| * @extends {cr.ui.pageManager.Page}
|
| */
|
| function QuickUnlockConfigureOverlay() {
|
| - Page.call(this, 'quickUnlockConfigureOverlay',
|
| - loadTimeData.getString('lockScreenTitle'),
|
| - 'quick-unlock-configure-overlay');
|
| -
|
| + Page.call(
|
| + this, 'quickUnlockConfigureOverlay',
|
| + loadTimeData.getString('lockScreenTitle'),
|
| + 'quick-unlock-configure-overlay');
|
| }
|
|
|
| cr.addSingletonGetter(QuickUnlockConfigureOverlay);
|
| @@ -51,12 +51,13 @@ cr.define('options', function() {
|
| */
|
| ensurePolymerIsLoaded_: function() {
|
| this.loaded_ = this.loaded_ || new Promise(function(resolve) {
|
| - var link = document.createElement('link');
|
| - link.rel = 'import';
|
| - link.href = 'chrome://settings-frame/options_polymer.html';
|
| - link.onload = resolve;
|
| - document.head.appendChild(link);
|
| - });
|
| + var link = document.createElement('link');
|
| + link.rel = 'import';
|
| + link.href =
|
| + 'chrome://settings-frame/options_polymer.html';
|
| + link.onload = resolve;
|
| + document.head.appendChild(link);
|
| + });
|
| return this.loaded_;
|
| },
|
|
|
| @@ -80,8 +81,8 @@ cr.define('options', function() {
|
| var easyUnlockDiv = lockScreen.root.querySelector('#easyUnlock');
|
| easyUnlockDiv.hidden = true;
|
|
|
| - var passwordPrompt = lockScreen.root.
|
| - querySelector('settings-password-prompt-dialog');
|
| + var passwordPrompt =
|
| + lockScreen.root.querySelector('settings-password-prompt-dialog');
|
| passwordPrompt.addEventListener('close', function() {
|
| if (!lockScreen.setModes_) {
|
| QuickUnlockConfigureOverlay.dismiss();
|
| @@ -95,7 +96,5 @@ cr.define('options', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - QuickUnlockConfigureOverlay: QuickUnlockConfigureOverlay
|
| - };
|
| + return {QuickUnlockConfigureOverlay: QuickUnlockConfigureOverlay};
|
| });
|
|
|