diff options
author | bcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 00:49:55 +0000 |
---|---|---|
committer | bcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 00:49:55 +0000 |
commit | 36ef2cb971376d4c7b12d3774f9148ab3bb7d2a1 (patch) | |
tree | f6c3640547a3e0b636b95de76fb8dc4d52c6e4cb /media/base/pipeline.cc | |
parent | 74893ffe6f6b0a92fd20c210ee40edc8a57fe6e2 (diff) | |
download | chromium_src-36ef2cb971376d4c7b12d3774f9148ab3bb7d2a1.zip chromium_src-36ef2cb971376d4c7b12d3774f9148ab3bb7d2a1.tar.gz chromium_src-36ef2cb971376d4c7b12d3774f9148ab3bb7d2a1.tar.bz2 |
Fix keycode problems for modified keys.
There is a problem with keycode generation for non-trivial characters
(i.e. those that have modifiers) because the event array generated is
not simply a KeyDown/KeyUp combination; each modifier also gets a pair
of events.
Instead, scan through the events and send the first KeyDown that isn't
a modifier key. Also, don't send key events if nothing is changing
(as happens with the final "commit").
SendSythenticKeyEvent needed to be extended to accept modifier flags.
BUG=118639
Review URL: https://codereview.chromium.org/426063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline.cc')
0 files changed, 0 insertions, 0 deletions