ime: Send physical key events to IME service.
Add Mojo and protobuf messages for Chrome to send key events to the IME service. Key event handling is a bit special because it requires a callback (whether the key event was consumed by the IME or not). Before, messages were sent from DecoderEngine and received in ClientDelegate, so sending & receiving were independent of each other. However, for key events, we need to track key events and their callbacks, so sending & receiving must go through the same code at some point. Therefore, make ClientDelegate forward messages to DecoderEngine so that DecoderEngine can track pending key events and call the right callback when needed. Change-Id: Ia3a2d976cc79f24a96d6ec390732dc64833afaff Bug: b/161490915 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422925 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Matthew Denton <mpdenton@chromium.org> Reviewed-by:
Keith Lee <keithlee@chromium.org> Auto-Submit: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#819172}
Showing
Please register or sign in to comment