DescriptionFix InputEventTracker to track key events based on both VK- and USB-keycodes.
This CL also fixes InputEventTracker to cope with events with missing fields, switches the tracker unit-tests to concentrate on USB-based key events, and adds some tests of handling VK-based, VK&USB-based and invalid key events.
Previously the InputEventTracker required that all events have a VK-style keycode set, and used that to track the pressed keys. When switching to USB-style events, clients may not transmit a VK-style keycode, or may send a dummy value, which would result in events being incorrectly tracked.
BUG=121696
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130661
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix PressedKeysLessThan #Patch Set 3 : Remove duplicate MockInputStub definition. #
Messages
Total messages: 11 (0 generated)
|