commit | 29b26a4ba97065b4247debb2a5c759dacb8c5a88 | [log] [tgz] |
---|---|---|
author | Darren Shen <[email protected]> | Sun Mar 18 22:36:12 2018 |
committer | Commit Bot <[email protected]> | Sun Mar 18 22:36:12 2018 |
tree | ce265d83ffb1a9f63396dd9dd01239d83a898930 | |
parent | 1fa1c441748db30f39da7c6f555d5bcd773608cd [diff] |
mash: Remove use of InputMethodManager in Wayland server. We're currently using InputMethodManager in the Wayland server to observe changes in the keyboard layout. However, under mash, exo will be in the ash process and InputMethodManager will be in the chrome process, so we cannot depend on InputMethodManager from the Wayland server. We remove the use of InputMethodManager in the Wayland server for observing keyboard changes by using ImeController instead, which uses Mojo for communication. We also add a way of retrieving the current keyboard layout from ImeController. This is a similar design to how ImeController handles caps lock, but it's simpler because we never need to set the layout from ash side. Changes to layout on the chrome side just propagate to the ash side from ImeControllerClient to ImeController. Bug: 772382 Change-Id: I84df1ee1b7e0f54716125fec9d4cd49f3442ed79 Reviewed-on: https://chromium-review.googlesource.com/961505 Commit-Queue: Darren Shen <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Oliver Chang <[email protected]> Reviewed-by: James Cook <[email protected]> Cr-Commit-Position: refs/heads/master@{#543958}
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 .