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

Unified Diff: Source/testing/runner/KeyCodeMapping.cpp

Issue 22831043: KeyboardEvent.location should be DOM_KEY_LOCATION_STANDARD for Num Lock key (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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: Source/testing/runner/KeyCodeMapping.cpp
diff --git a/Source/testing/runner/KeyCodeMapping.cpp b/Source/testing/runner/KeyCodeMapping.cpp
index 46d899783ffac0e9ef55a746869988f5e1c828b8..3fb4ece0528237851802552c6ea35655ffd32a70 100644
--- a/Source/testing/runner/KeyCodeMapping.cpp
+++ b/Source/testing/runner/KeyCodeMapping.cpp
@@ -234,6 +234,8 @@ int NativeKeyCodeForWindowsKeyCode(int keysym)
return 64;
case VKEY_RMENU:
return 108;
+ case VKEY_NUMLOCK:
+ return 77;
default:
return 0;

Powered by Google App Engine
This is Rietveld 408576698