commit | e61cd9311b21e9fdf1cc1b81cfeaf31b229fa548 | [log] [tgz] |
---|---|---|
author | Shu Chen <shuchen@chromium.org> | Tue Apr 30 01:59:34 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 30 01:59:34 2019 |
tree | 2f833d022b8f8b1107a3acac68942ecf58c86318 | |
parent | 2baebb9e23033e5b6c8222a4272179632ac633e9 [diff] |
Adds a "fallback" ime engine registered to Ash when IMM switches to an IME that the corresponding ime engine is not ready/loaded yet. For example, in the linux_chromeos environment where the IME extension is not deployed correctly, the extension will fail to load. Then ImeEngine is never created and registered to Ash. Therefore, the client connection request is pending on Ash so that the key events are queued in the Mojo pipe forever. This cl tries to avoid the case of "no engine". In case of IMM cannot get a real engine, using a fallback engine so that the key events can flow. Bug: 953154,937167 Change-Id: I1127458b78bde809688baf496c4ee598477314c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1569365 Commit-Queue: Shu Chen <shuchen@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#655103}
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 .