| Index: third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidatebutton.js
|
| diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidatebutton.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidatebutton.js
|
| index 30897fa5868dee24967a5812f64896eaa6c5e204..6888d63cbc40d45e7b1751915990adf899ef0a9d 100644
|
| --- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidatebutton.js
|
| +++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidatebutton.js
|
| @@ -121,5 +121,15 @@ CandidateButton.prototype.resize = function(width, height) {
|
| };
|
|
|
|
|
| +/** @override */
|
| +CandidateButton.prototype.setVisible = function(visible) {
|
| + var ret = CandidateButton.base(this, 'setVisible', visible);
|
| + if (this.type == ElementType.VOICE_BTN) {
|
| + var elem = this.getElement();
|
| + elem.style.webkitAnimation = (visible ? 'visible' : 'invisible') +
|
| + '-animation .4s ease';
|
| + }
|
| + return ret;
|
| +};
|
| }); // goog.scope
|
|
|
|
|