Make sure IME guard is added for processing Android text.
The code previously added an IME guard but it was removed when moving this into blink and the showing/hiding of the virtual keyboard was done on the HandlingInputState object itself. (via change https://chromium-review.googlesource.com/c/chromium/src/+/2212805). he IME guard prevents intermediate changes when handling an event. This was problematic for TinyIME because the text input mode changed between the processing of the event which caused the virtual keyboard to be dismissed. This change makes the code behave exactly the same before the move to blink. It can't be merged into M85 due to that branch only having part of the changes. So if it needs to go there it will need to be written separately. BUG=1121179 Change-Id: Ida425dedd240a3c2e36b458d45f04433c6d31963 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373363 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Auto-Submit: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#801820}
Showing
Please register or sign in to comment