Index: third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js |
index a2a8caee5ba1eab6c244ebcd508c5203aabeb197..99090e7206388da7c4fdc826a96d30f975785703 100644 |
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js |
@@ -15,9 +15,7 @@ goog.provide('i18n.input.chrome.inputview.elements.layout.HandwritingLayout'); |
goog.require('goog.dom.classlist'); |
goog.require('i18n.input.chrome.inputview.Css'); |
-goog.require('i18n.input.chrome.inputview.GlobalFlags'); |
goog.require('i18n.input.chrome.inputview.elements.ElementType'); |
-goog.require('i18n.input.chrome.inputview.elements.Weightable'); |
goog.require('i18n.input.chrome.inputview.elements.layout.LinearLayout'); |
goog.scope(function() { |
@@ -58,12 +56,6 @@ HandwritingLayout.prototype.createDom = function() { |
/** @override */ |
HandwritingLayout.prototype.resize = function(width, height) { |
goog.base(this, 'resize', width, height); |
- |
- if (!i18n.input.chrome.inputview.GlobalFlags.isQPInputView) { |
- // 85/140 = 0.6 |
- this.getElement().style.top = |
- Math.ceil(height * 0.6 / this.getHeightInWeight()); |
- } |
}; |
}); // goog.scope |