Add a workaround for crbug.com/139556.

* Switch to the next IME when Shift+Alt+Enter (or Space) are pressed and then Enter (or Space) is released. Since most of CJK IMEs use either Enter or Space as a "commit" key, this should work fine for such IME users.
* The workaround might not be good enough for Cangjie/Quick IME users since the IME also uses [0-9] keys for committing a string.

We might have to add additional workaround for switching from a keyboard layout to an IME, but I believe this CL would be a good enough as an initial trial.

BUG=139556
TEST=added some new ash_unittests. also manually checked that the key repeat suppression change by mtomasz is still working fine.


Review URL: https://chromiumcodereview.appspot.com/11364168

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166868 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed