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

Unified Diff: chrome/browser/resources/chromeos/login/offline_ad_login.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (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/chromeos/login/offline_ad_login.js
diff --git a/chrome/browser/resources/chromeos/login/offline_ad_login.js b/chrome/browser/resources/chromeos/login/offline_ad_login.js
index 6c202bc0485dd5a3109fd949f4867a08f34134b6..9947ff3379c5d5a4c6dd28b8c3736a3542148a8e 100644
--- a/chrome/browser/resources/chromeos/login/offline_ad_login.js
+++ b/chrome/browser/resources/chromeos/login/offline_ad_login.js
@@ -23,25 +23,15 @@ Polymer({
/**
* Whether the UI disabled.
*/
- disabled: {
- type: Boolean,
- value: false,
- observer: 'disabledChanged_'
- },
+ disabled: {type: Boolean, value: false, observer: 'disabledChanged_'},
/**
* Whether to show machine name input field.
*/
- showMachineInput: {
- type: Boolean,
- value: false
- },
+ showMachineInput: {type: Boolean, value: false},
/**
* The kerberos realm (AD Domain), the machine is part of.
*/
- realm: {
- type: String,
- observer: 'realmChanged_'
- },
+ realm: {type: String, observer: 'realmChanged_'},
/**
* The user kerberos default realm. Used for autocompletion.
*/
@@ -68,8 +58,8 @@ Polymer({
},
focus: function() {
- if (this.showMachineInput && /** @type {string} */ (
- this.$.machineNameInput.value) == '') {
+ if (this.showMachineInput &&
+ /** @type {string} */ (this.$.machineNameInput.value) == '') {
this.$.machineNameInput.focus();
} else if (/** @type {string} */ (this.$.userInput.value) == '') {
this.$.userInput.focus();
« no previous file with comments | « chrome/browser/resources/chromeos/login/notification_card.js ('k') | chrome/browser/resources/chromeos/login/offline_gaia.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698