diff options
author | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 21:14:27 +0000 |
---|---|---|
committer | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 21:14:27 +0000 |
commit | ae0afa7c066f2513bea322dafc7669b36e451bf9 (patch) | |
tree | 7602e52a0fa75c86443bb296eb8eefe17bbcd237 /build | |
parent | 21fc0cb6d545ec7fc53d8b8f3054da77bfd43ef1 (diff) | |
download | chromium_src-ae0afa7c066f2513bea322dafc7669b36e451bf9.zip chromium_src-ae0afa7c066f2513bea322dafc7669b36e451bf9.tar.gz chromium_src-ae0afa7c066f2513bea322dafc7669b36e451bf9.tar.bz2 |
[Mac] Synthesize keypress events correctly.
If a keydown event doesn't generate insertText: call, then we should only synthesize a keypress event for following cases:
1. ctrl or cmd is down.
2. The keydown event generates an insert command (eg. insertTab).
BUG=59147 Please don't insert text in synthesizing a key press event
TEST=See bug report.
Review URL: http://codereview.chromium.org/4014011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions