summaryrefslogtreecommitdiffstats
path: root/third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js')
-rw-r--r--third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js b/third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js
index e2911dd..349d8ed 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/config/ie_data.js
@@ -166,6 +166,13 @@ goog.require('i18n.input.chrome.message.ContextType');
compact.numberpad.keyNumberpadCharacters();
inputTypeToKeysetSpecMap[ContextType.NUMBER] = numberKeysetSpec;
+ var phoneKeysetSpec = {};
+ phoneKeysetSpec[keysetSpecNode.ID] = 'ie.compact.phonepad';
+ phoneKeysetSpec[keysetSpecNode.LAYOUT] = 'compactkbd-numberpad';
+ phoneKeysetSpec[keysetSpecNode.DATA] = i18n.input.chrome.inputview.content.
+ compact.numberpad.keyPhonepadCharacters();
+ inputTypeToKeysetSpecMap[ContextType.PHONE] = phoneKeysetSpec;
+
i18n.input.chrome.inputview.content.ContextlayoutUtil.generateContextLayouts(
inputTypeToKeysetSpecMap, google.ime.chrome.inputview.onConfigLoaded);
}) ();