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

Unified Diff: chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 months 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 side-by-side diff with in-line comments
Download patch
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};
});

Powered by Google App Engine
This is Rietveld 408576698