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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/elements/layout/handwritinglayout.js

Issue 1257313003: Update Google Input Tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Free up grd resources. Created 5 years, 5 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/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

Powered by Google App Engine
This is Rietveld 408576698