Allows to fire VKEY_UNKNOWN key events.
commit6c879fbd35d14af9ca4fe53bc622edac2d3fd5f1
authoryukishiino <yukishiino@chromium.org>
Tue, 21 Oct 2014 09:29:16 +0000 (21 02:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Oct 2014 09:31:13 +0000 (21 09:31 +0000)
treed363a72672a54713014ec7b80e35931c477321d7
parenta2822d2f12db6e00d4d93a2316318a53f18531d6
Allows to fire VKEY_UNKNOWN key events.

On Linux, we have keys with keycode=VKEY_UNKNOWN, for example, ISO_LEVEL3_LATCH key.  We have to emit keydown/up events appropriately even if keycode=VKEY_UNKNOWN.

Just FYI: Firefox also fires keyevents with keycode=0, so the behavior will be compatible.  Compared to IE and Chrome on Windows, it's still compatible because there is no such key as ISO_LEVEL3_LATCH, etc. on Windows.

BUG=402320
TEST=Done manually.

Review URL: https://codereview.chromium.org/665863002

Cr-Commit-Position: refs/heads/master@{#300438}
ui/aura/window_event_dispatcher_unittest.cc
ui/aura/window_targeter.cc