Re-enable CJK omnibox suggest on Metro UI

On Metro UI, we can't get IMM32 message like WM_IME_COMPOSITION or IMN_OPENCANDIDATE/IMN_CLOSECANDIDATE.
Instead of message handling, registering callback function to TsfEventRouter which monitors TSF related event and callbacks on specific event.
To enable omnibox suggestion again for IME on Metro environment, I introduced two event callback, OnTextUpdatedByTsf which is called when the text contents are updated by TSF, and OnCandidateWindowCountChangedByTsf which is called when the number of currently opened candidate window is changed.
These callbacks are never called without Metro environment, so this CL does not affects non Metro environment including previous version of Windows.

BUG=141820, 151901
TEST=Manually done on Win8 for both Metro and classic UI.

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

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