commit | fe60fb8d3235aa1d3c9f3660e1aa53ec5dbc2527 | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Wed Oct 03 18:46:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 03 18:46:40 2018 |
tree | e63b746bb83d771480a11abc5f778d6cee06c272 | |
parent | 6ae88d9a2b7f3ef8b6c0cc263ed484838bdabf48 [diff] |
Fix vietnamese layout to correctly handle cmd + 1. In vietnamese layout, cmd + [vkeycode=18] does not print any characters. This should still be correctly interpretted as a hotkey for cmd + '1'. Previously, the logic for cr_firesForKeyEvent would early exit when charactersIgnoringModifiers had 0 length. Subsequent logic would use characters in place of charactersIgnoringModifiers. This CL moves the latter logic before the former logic so that if charactersIgnoringModifiers has 0 length, we'll instead check characters. Change-Id: I3fcc45579c7697ca843ef3472fa294fa2da02262 Bug: 889424 Reviewed-on: https://chromium-review.googlesource.com/1259342 Commit-Queue: Erik Chen <erikchen@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#596298}
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 .