[Mojo-IMF] Fixes the engine side issues.
The InputMethodEngine needs to work with mojo-based & non-mojo-based clients in a hybrid mode. For example, the app_list window seems not using WindowTreeHostMus. Therefore, the engine needs to: - track the mojo client breakage, and can switch back to legacy mode to use IMEBridge. - mutes the FinishInput call as necessary when a non-mojo client calls FocusIn before the mojo client calls FinishInput. Otherwise it will confuse the IME extension (e.g. receives "onfocus" and later "onblur"). Bug: 937167 Change-Id: I9dc54156b6075d1636e8984d941948a680b365e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1559414 Commit-Queue: Shu Chen <shuchen@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#649727}
Showing
Please register or sign in to comment