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

Unified Diff: Source/web/win/WebInputEventFactory.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/web/win/WebInputEventFactory.cpp
diff --git a/Source/web/win/WebInputEventFactory.cpp b/Source/web/win/WebInputEventFactory.cpp
index 4ce69f0ef9828e46b6bf2bc5ff49c26c1beada2e..11f83429258bfdaa9914fa07cc921d1175bb1453 100644
--- a/Source/web/win/WebInputEventFactory.cpp
+++ b/Source/web/win/WebInputEventFactory.cpp
@@ -68,7 +68,6 @@ static int getLocationModifier(WPARAM wparam, LPARAM lparam)
if (!((lparam >> 16) & KF_EXTENDED))
modifier = WebInputEvent::IsKeyPad;
break;
- case VK_NUMLOCK:
case VK_NUMPAD0:
case VK_NUMPAD1:
case VK_NUMPAD2:

Powered by Google App Engine
This is Rietveld 408576698