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} . |