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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/elements/content/tabbarkey.js

Issue 899673003: Uprev Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/elements/content/tabbarkey.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/tabbarkey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/tabbarkey.js
index 4ee6846418be6486b1f621e0bde5f53cd0be92f1..84bb0b82e45bb6cff9f2bfae6e849e18553e6a16 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/tabbarkey.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/tabbarkey.js
@@ -91,7 +91,9 @@ TabBarKey.prototype.createDom = function() {
goog.dom.classlist.remove(this.bgElem, Css.SPECIAL_KEY_BG);
goog.dom.classlist.add(this.bgElem, Css.EMOJI_TABBAR_KEY);
goog.dom.classlist.add(this.iconElem, Css.EMOJI_SWITCH);
- this.createSeparator_();
+ if (!i18n.input.chrome.inputview.GlobalFlags.isQPInputView) {
+ this.createSeparator_();
+ }
// Sets aria label.
var ariaLabel = '';
@@ -133,9 +135,11 @@ TabBarKey.prototype.resize = function(width,
this.tableCell.style.width = this.availableWidth + 'px';
this.tableCell.style.height = this.availableHeight -
this.BORDER_HEIGHT_ + 'px';
- this.sepTableCell.style.height = this.availableHeight -
- this.BORDER_HEIGHT_ + 'px';
- this.separator.style.height = this.availableHeight * 0.32 + 'px';
+ if (!i18n.input.chrome.inputview.GlobalFlags.isQPInputView) {
+ this.sepTableCell.style.height = this.availableHeight -
+ this.BORDER_HEIGHT_ + 'px';
+ this.separator.style.height = this.availableHeight * 0.32 + 'px';
+ }
};

Powered by Google App Engine
This is Rietveld 408576698