DescriptionFix Keypad keyboard events on Mac; so the KeyboardCodes reflect the Keypad location.
Ensure Keypad Events on Mac have the correct keycode associated with
them by avoiding the character conversion code and doing the
correct check based on the mac KeyCode value.
For example '0' as a Keypad character was producing the exact
same keycode as '0' as an alpha numeric key because it was
compared via the text conversion function first.
This code is taken from the WebInputEventFactory.mm in blink.
BUG=493833
Committed: https://crrev.com/90aa9cca7416ea267f38e59aded77c17ee10c0ec
Cr-Commit-Position: refs/heads/master@{#348798}
Patch Set 1 #Patch Set 2 : #
Dependent Patchsets: Messages
Total messages: 9 (2 generated)
|