diff options
Diffstat (limited to 'third_party/google_input_tools/src/chrome/os/inputview/config/util.js')
-rw-r--r-- | third_party/google_input_tools/src/chrome/os/inputview/config/util.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/util.js b/third_party/google_input_tools/src/chrome/os/inputview/config/util.js index 560ba12..928fd8c 100644 --- a/third_party/google_input_tools/src/chrome/os/inputview/config/util.js +++ b/third_party/google_input_tools/src/chrome/os/inputview/config/util.js @@ -153,6 +153,21 @@ i18n.input.chrome.inputview.content.util.createBackKey = function() { /** + * Create the key which leads to keyboard from emoji/hwt. + * + * @return {!Object} The back key. + */ +i18n.input.chrome.inputview.content.util.createBackToKeyboardKey = function() { + var spec = {}; + spec[SpecNodeName.ICON_CSS_CLASS] = + i18n.input.chrome.inputview.Css.BACK_TO_KEYBOARD_ICON; + spec[SpecNodeName.TYPE] = ElementType.BACK_TO_KEYBOARD; + spec[SpecNodeName.ID] = 'backToKeyboard'; + return i18n.input.chrome.inputview.content.util.createKey(spec); +}; + + +/** * Creates a ctrl key. * * @return {!Object} The ctrl key. |