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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/config/hwt_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/hwt_data.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js b/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js
index 08930ea8d3aaf9d3f3f07aa7a6e375378903ba5b..e0b01393ee220f445e3996b0f56dbbb41d68cde4 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js
@@ -11,14 +11,14 @@
// you may not use this file except in compliance with the License.
// Licensed under the Apache License, Version 2.0 (the "License");
//
+goog.require('i18n.input.chrome.ElementType');
goog.require('i18n.input.chrome.inputview.Css');
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 util = i18n.input.chrome.inputview.content.util;
- var ElementType = i18n.input.chrome.inputview.elements.ElementType;
+ var ElementType = i18n.input.chrome.ElementType;
var SpecNodeName = i18n.input.chrome.inputview.SpecNodeName;
var Css = i18n.input.chrome.inputview.Css;
@@ -63,7 +63,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] = 'handwriting';

Powered by Google App Engine
This is Rietveld 408576698