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

Unified Diff: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js

Issue 2081873008: Changed look of pin keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 1 errors. Created 4 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 a5cbe3b7c5c1c5616a7a1ababb4cc36f279640c4..f57a4ec47cf7af0200185e975fac792bc1e1960d 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
@@ -14,6 +14,12 @@ Polymer({
input.value += value;
},
+ // Called when the user wants to clear the current entered PIN value.
+ onPinClear_: function() {
jdufault 2016/06/22 23:18:01 onPinBackspace_? Though that doesn't sound much be
sammiequon 2016/06/22 23:43:28 Done.
+ var pin = this.$$('#pin-input');
+ pin.value = pin.value.substring(0, pin.value.length - 1);
+ },
+
// Called when the user wants to submit the PIN.
onPinSubmit_: function() {
var pin = this.$$('#pin-input').value;

Powered by Google App Engine
This is Rietveld 408576698