Index: third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js |
index 96ade6b1a5701f555bb87f3ecd8b528a8b22c846..f62a714b7d66c5f9d228e76f202dab0491b4f560 100644 |
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js |
@@ -72,7 +72,8 @@ goog.inherits(Candidate, i18n.input.chrome.inputview.elements.Element); |
*/ |
Candidate.Type = { |
CANDIDATE: 0, |
- NUMBER: 1 |
+ NUMBER: 1, |
+ TOOLTIP: 2 |
}; |
@@ -93,6 +94,9 @@ Candidate.prototype.createDom = function() { |
if (this.candidateType == Candidate.Type.NUMBER) { |
goog.dom.classlist.add(elem, Css.CANDIDATE_NUMBER); |
} |
+ if (this.candidateType == Candidate.Type.TOOLTIP) { |
+ goog.dom.classlist.add(elem, Css.TOOLTIP); |
+ } |
this.wrapper_ = dom.createDom('div', { |
'class': Css.CANDIDATE_INTERNAL_WRAPPER |
}, this.candidate[Name.CANDIDATE]); |