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

Unified Diff: ui/keyboard/resources/elements/kb-modifier-key.html

Issue 46043004: Fixes modifier handling for repeat keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | « ui/keyboard/resources/elements/kb-keyset.html ('k') | ui/keyboard/resources/elements/kb-shift-key.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/elements/kb-modifier-key.html
diff --git a/ui/keyboard/resources/elements/kb-modifier-key.html b/ui/keyboard/resources/elements/kb-modifier-key.html
index 343a5940d2dadac61b5b3648f4687899c2a3dad2..ebe9cf79e3aef86385003a481b6624a3b34c14c9 100644
--- a/ui/keyboard/resources/elements/kb-modifier-key.html
+++ b/ui/keyboard/resources/elements/kb-modifier-key.html
@@ -64,10 +64,10 @@
},
/**
- * Notifies key that a non-control keyed up.
+ * Notifies key that a non-control keyed was typed.
* A control key is defined as one of shift, control or alt.
*/
- onNonControlKeyUp: function() {
+ onNonControlKeyTyped: function() {
switch(this.state) {
case (KEY_STATES.TAPPED):
this.state = KEY_STATES.UNLOCKED;
« no previous file with comments | « ui/keyboard/resources/elements/kb-keyset.html ('k') | ui/keyboard/resources/elements/kb-shift-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698