Index: third_party/google_input_tools/src/chrome/os/inputview/covariance.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/covariance.js b/third_party/google_input_tools/src/chrome/os/inputview/covariance.js |
index facf5c11fe4989e39b27a176e2cba7e83e46ec40..f85e19126ad5432c446b747eb0d0ae584d9e1c44 100644 |
--- a/third_party/google_input_tools/src/chrome/os/inputview/covariance.js |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/covariance.js |
@@ -13,11 +13,12 @@ |
// |
goog.provide('i18n.input.chrome.inputview.Covariance'); |
-goog.require('i18n.input.chrome.inputview.elements.ElementType'); |
+goog.require('goog.object'); |
+goog.require('i18n.input.chrome.ElementType'); |
goog.scope(function() { |
-var ElementType = i18n.input.chrome.inputview.elements.ElementType; |
+var ElementType = i18n.input.chrome.ElementType; |
@@ -53,7 +54,7 @@ Covariance.BreakDown = { |
Covariance.ElementTypeMap = goog.object.create( |
ElementType.CHARACTER_KEY, 0, |
ElementType.COMPACT_KEY, 1 |
-); |
+ ); |
/** |
@@ -101,11 +102,12 @@ Covariance.prototype.update = function(isWideScreen, isHorizontal, isA11y) { |
* Gets the covariance value. |
* |
* @param {ElementType} type . |
+ * @return {number} The value. |
*/ |
Covariance.prototype.getValue = function(type) { |
var index = Covariance.ElementTypeMap[type]; |
return Covariance.VALUE_[this.breakDown_][index]; |
}; |
-}); // goog.scope |
+}); // goog.scope |