Always call ChangeInputMethodInternal in SetState.
commitfad5fa9ec041ffa0085e422c3e2f0caca07f8108
authorshuchen <shuchen@chromium.org>
Tue, 28 Oct 2014 15:15:32 +0000 (28 08:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Oct 2014 15:15:54 +0000 (28 15:15 +0000)
tree55a7d3a0601e8b2b6e9ad2514941b8ab5a3cf608
parent22071ea97454ca35447c365e6c97ca1626c75f7e
Always call ChangeInputMethodInternal in SetState.

For lock/unlock screen, the input method id may not be changed, but IMF
still needs to notify IME extensions about the current screen type (e.g.
'lock', 'normal', etc.) via chrome.input.ime.onActivate event, which is
triggered by ChangeInputMethodInternal.

BUG=427910
TEST=Verified on linux_chromeos.

Review URL: https://codereview.chromium.org/687623002

Cr-Commit-Position: refs/heads/master@{#301633}
chrome/browser/chromeos/input_method/input_method_manager_impl.cc