Fix composition key-code after switching to a new input field.
commitc0b2aae8297bdb9bdc9faf92c863a55de7da3397
authorbcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Jul 2014 14:16:51 +0000 (30 14:16 +0000)
committerbcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Jul 2014 14:16:51 +0000 (30 14:16 +0000)
tree0b0a5b56f4362129903ebba9b6bb5e94409b9d85
parent60aac2ea45dbc04ae74a95e5ccda68d898c466f6
Fix composition key-code after switching to a new input field.

A line of code that resets the composition state upon
switching to a new field got removed by mistake during the
clean-up of dead code in the last CL.  The adds it back and
creates a test to make sure the switching works.

BUG=118639

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286510 0039d316-1c4b-4281-b951-d872f2087c98
content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java
content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java