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

Unified Diff: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.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/quick_unlock/pin_keyboard.js
diff --git a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
index d3740c76c39c4fdc94efc0eeaef7bc46903561c7..bac665b9fbd913f788c92f1712ac969ee5f0151e 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
@@ -125,8 +125,7 @@ Polymer({
*/
onPasswordElementAttached_: function(inputElement) {
this.showPinInput_ = inputElement == this.$.pinInput.inputElement;
- inputElement.addEventListener('input',
- this.handleInputChanged_.bind(this));
+ inputElement.addEventListener('input', this.handleInputChanged_.bind(this));
},
/**
@@ -207,7 +206,7 @@ Polymer({
/** Fires a submit event with the current PIN value. */
firePinSubmitEvent_: function() {
- this.fire('submit', { pin: this.value });
+ this.fire('submit', {pin: this.value});
},
/**
@@ -219,7 +218,7 @@ Polymer({
onPinValueChange_: function(value, previous) {
if (value != previous) {
this.passwordElement.value = this.value;
- this.fire('pin-change', { pin: value });
+ this.fire('pin-change', {pin: value});
}
},
@@ -254,8 +253,8 @@ Polymer({
*/
onBackspacePointerDown_: function(event) {
this.startAutoBackspaceId_ = setTimeout(function() {
- this.repeatBackspaceIntervalId_ = setInterval(
- this.onPinClear_.bind(this), REPEAT_BACKSPACE_DELAY_MS);
+ this.repeatBackspaceIntervalId_ =
+ setInterval(this.onPinClear_.bind(this), REPEAT_BACKSPACE_DELAY_MS);
}.bind(this), INITIAL_BACKSPACE_DELAY_MS);
if (!event.target.receivedFocusFromKeyboard)

Powered by Google App Engine
This is Rietveld 408576698