Index: third_party/google_input_tools/src/chrome/os/inputview/config/util.js |
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 560ba120b80e2b10d82349ddadd2741561d85975..928fd8cf1ed24edd73fa68ab1a0990c6ad047f55 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. |