commit | 8b79a3c6208a35ca2667be9f2f2dd94b64198d1b | [log] [tgz] |
---|---|---|
author | Yuwei Huang <yuweih@chromium.org> | Tue Apr 10 02:29:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 10 02:29:29 2018 |
tree | 4bc3aeb04c8b44102d3451f5c2e59a279c2953c1 | |
parent | 94ad096c7c35d3a046f94f7fe4a5b76db4257924 [diff] |
[CRD iOS] Translate "\n" into an enter keypress iOS is sending a "\n" unicode text event to the host when the user taps the `return` key. On Windows this doesn't always generate a newline. This CL fixes this issue by translating the "\n" text event into a ENTER keypress before sending it to the host. Bug: 830959 Change-Id: Ib94caf6ce2036cc5654f1b59f1e0136c81c9eec1 Reviewed-on: https://chromium-review.googlesource.com/1003598 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#549385}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .