diff options
author | wez <wez@chromium.org> | 2015-10-23 14:07:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-23 21:08:16 +0000 |
commit | ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4 (patch) | |
tree | 28e2d50e2d13bbd1ceef85355b37d4d2c7312b4d /remoting/remoting_test.gypi | |
parent | 033bbbcb63cab781552dfb435c035131c423de30 (diff) | |
download | chromium_src-ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4.zip chromium_src-ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4.tar.gz chromium_src-ae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4.tar.bz2 |
Add NormalizingInputFilterWin to un-pick AltGr sequences.
Windows treats international keyboard layouts' AltGr modifier as a
combination of left-Control and right-Alt modifiers, whereas the
Chromoting protocol, and other platforms, treat AltGr as equivalent to
right-Alt and handle the Alt/AltGr as part of the layout-specific
meaning of the key.
NormalizingInputFilterWin holds each keydown event for the left-Control
key until the next input event (e.g. left-Control repeat, another key
event, mouse event, etc) so that it can suppress it if the next event is
a keydown for right-Alt, on the assumption that that indicates an AltGr
sequence.
BUG=470571
Review URL: https://codereview.chromium.org/1416233002
Cr-Commit-Position: refs/heads/master@{#355881}
Diffstat (limited to 'remoting/remoting_test.gypi')
-rw-r--r-- | remoting/remoting_test.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/remoting_test.gypi b/remoting/remoting_test.gypi index 996760c..6702053 100644 --- a/remoting/remoting_test.gypi +++ b/remoting/remoting_test.gypi @@ -229,6 +229,7 @@ 'client/key_event_mapper_unittest.cc', 'client/normalizing_input_filter_cros_unittest.cc', 'client/normalizing_input_filter_mac_unittest.cc', + 'client/normalizing_input_filter_win_unittest.cc', 'client/server_log_entry_client_unittest.cc', 'client/software_video_renderer_unittest.cc', 'client/touch_input_scaler_unittest.cc', |