Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js

Issue 1576613002: Update Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing APIs, remove bade dependencies. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js b/third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js
index 97acd32a5d27b8e8c812e2d8a7a60bf30cba3781..2df2b2e2cb4d7b10691e36cbb33097a21c218341 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/config/jp_data.js
@@ -12,16 +12,16 @@
// Licensed under the Apache License, Version 2.0 (the "License");
//
goog.require('goog.array');
+goog.require('i18n.input.chrome.ElementType');
goog.require('i18n.input.chrome.inputview.Css');
goog.require('i18n.input.chrome.inputview.Direction');
goog.require('i18n.input.chrome.inputview.SpecNodeName');
goog.require('i18n.input.chrome.inputview.content.util');
-goog.require('i18n.input.chrome.inputview.elements.ElementType');
(function() {
var Css = i18n.input.chrome.inputview.Css;
var Direction = i18n.input.chrome.inputview.Direction;
- var ElementType = i18n.input.chrome.inputview.elements.ElementType;
+ var ElementType = i18n.input.chrome.ElementType;
var SpecNodeName = i18n.input.chrome.inputview.SpecNodeName;
var util = i18n.input.chrome.inputview.content.util;
@@ -136,7 +136,7 @@ goog.require('i18n.input.chrome.inputview.elements.ElementType');
mapping[key['spec'][SpecNodeName.ID]] = viewIdPrefix + i;
});
- var result = [];
+ var result = {};
result[SpecNodeName.KEY_LIST] = keyList;
result[SpecNodeName.MAPPING] = mapping;
result[SpecNodeName.LAYOUT] = 'jpkbd';

Powered by Google App Engine
This is Rietveld 408576698