summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 03:09:52 +0000
committerguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 03:09:52 +0000
commit25402eb26f2f05b5105523057f06532eaac58764 (patch)
tree89b572f0b95925a55a481b871a6065c47417e311 /content/common
parent3b67224783df5f125242a411578dbb97a26ed8fd (diff)
downloadchromium_src-25402eb26f2f05b5105523057f06532eaac58764.zip
chromium_src-25402eb26f2f05b5105523057f06532eaac58764.tar.gz
chromium_src-25402eb26f2f05b5105523057f06532eaac58764.tar.bz2
Send the real key code in deleteSurroundingText
On android, when user presses DEL or FORWARD_DEL using IME, Chrome generates key events with 0 keycode. This breaks lots of websites who count on having the real keycode in the key event listeners, especially for the control keys such as DEL and FORWARD_DEL. This CL fixes the issue for the most common case when a single char is deleted. Instead of triggering deleteSurroudingText path with synthetic key events of key code 0, Chrome sends native key events with real key code. BUG=118639 Review URL: https://codereview.chromium.org/393933004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
0 files changed, 0 insertions, 0 deletions