summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_nacl.gyp
diff options
context:
space:
mode:
authorwez <wez@chromium.org>2015-10-23 14:07:06 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-23 21:08:16 +0000
commitae3b75a1cd6d47607a789b5d0adba80f8fc3ebe4 (patch)
tree28e2d50e2d13bbd1ceef85355b37d4d2c7312b4d /remoting/remoting_nacl.gyp
parent033bbbcb63cab781552dfb435c035131c423de30 (diff)
downloadchromium_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_nacl.gyp')
-rw-r--r--remoting/remoting_nacl.gyp3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/remoting_nacl.gyp b/remoting/remoting_nacl.gyp
index 6604231..426eb63 100644
--- a/remoting/remoting_nacl.gyp
+++ b/remoting/remoting_nacl.gyp
@@ -126,13 +126,14 @@
'protocol/chromium_socket_factory.cc',
],
- # Include normalizing_input_filter_mac.cc excluded by the filename
+ # Include normalizing_input_filter_*.cc excluded by the filename
# exclusion rules. Must be in target_conditions to make sure it's
# evaluated after the filename rules.
'target_conditions': [
['1==1', {
'sources/': [
[ 'include', 'client/normalizing_input_filter_mac.cc' ],
+ [ 'include', 'client/normalizing_input_filter_win.cc' ],
],
}],
],