Use the chrome.experimental.inputUI module to implement input method user interface. This module is for Chrome OS only. chrome.experimental.* APIs page.
chrome.experimental.inputUI