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

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

Issue 2425443002: cros: Removed some zones in the middle of the pin keyboard that do not accept touches. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d8b2762fb104855a57eb10cc72b4413c231f46ea..c1b38f35a6f8ae600057c8a049d9b5fccbadd0b1 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
@@ -99,8 +99,10 @@ Polymer({
// Remove the space/enter key binds from the polymer
// iron-a11y-keys-behavior.
var digitButtons = Polymer.dom(this.root).querySelectorAll('.digit-button');
- for (var i = 0; i < digitButtons.length; ++i)
+ for (var i = 0; i < digitButtons.length; ++i) {
digitButtons[i].keyEventTarget = null;
+ digitButtons[i].noink = true;
jdufault 2016/10/17 19:25:13 Set this inside of the HTML? <paper-button noin
sammiequon 2016/10/17 23:56:14 Done.
+ }
},
/**
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698