Keep track of content-type change after focus-in

This is an amendment to 6ca5ddb3.  As content-type (input-purpose and hints)
can change after focus-in, we should monitor the changes.

BUG=
R=takao.fujiwara1@gmail.com

Review URL: https://codereview.appspot.com/83920043