DescriptionEF_NUMPAD_KEY flag for ui::KeyEvent
Added a flag to distinguish between a KeyEvent that originates from
a number pad key and one that does not, where the KeyboardCode is
the same. For example, VKEY_LEFT can originate both from the cursor
block and the number pad '4' key, and the latter will have the
EF_NUMPAD_KEY flag set. This is needed to rewrite number pad events
to number key events without affecting editing key events.
BUG=354034
TEST=events_unittests EventsXTest.NumpadKeyEvents
R=sadrul@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264257
Patch Set 1 #Patch Set 2 : Fix unit_tests.EventRewriterTest.TestRewriteNumPadKeys* #
Messages
Total messages: 12 (0 generated)
|