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

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

Issue 1046933003: Updates google-input-tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/functionalkey.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/functionalkey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/functionalkey.js
index 138e8600aa26f6b36113532a463b2ba642acea50..6bc0917eecb12d20ef6e1a029b296865271ba9a3 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/functionalkey.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/functionalkey.js
@@ -150,6 +150,16 @@ FunctionalKey.prototype.setHighlighted = function(highlight) {
/**
+ * Some keys don't need background highlight, use this method to
+ * disable it.
+ */
+FunctionalKey.prototype.disableBackgroundHighlight = function() {
+ goog.dom.classlist.add(this.bgElem, i18n.input.chrome.inputview.Css.
+ SPECIAL_KEY_DISABLE_BG_HIGHLIGHT);
+};
+
+
+/**
* Gets the chrome vox message.
*
* @return {string} .

Powered by Google App Engine
This is Rietveld 408576698