Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js |
| index 7f50592c4707efbfea9de84710362e966e507179..9428c247de1b208fd3753736d46006c440878e27 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js |
| @@ -131,7 +131,7 @@ cvox.SearchWidget.prototype.hide = function(opt_noSync) { |
| cvox.ChromeVox.navigationManager))(true); |
| cvox.ChromeVox.navigationManager.speakDescriptionArray( |
| cvox.ChromeVox.navigationManager.getDescription(), |
| - cvox.AbstractTts.QUEUE_MODE_QUEUE, |
| + cvox.QueueMode.QUEUE, |
| null, |
| cvox.AbstractTts.PERSONALITY_ANNOUNCEMENT); |
| @@ -321,10 +321,10 @@ cvox.SearchWidget.prototype.createTextAreaNode_ = function() { |
| cvox.SearchWidget.prototype.toggleCaseSensitivity_ = function() { |
| if (this.caseSensitive_) { |
| cvox.SearchWidget.caseSensitive_ = false; |
| - cvox.ChromeVox.tts.speak('Ignoring case.', 0, null); |
| + cvox.ChromeVox.tts.speak('Ignoring case.', cvox.QueueMode.FLUSH, null); |
|
Peter Lundblad
2014/09/29 13:51:04
i18n if you don't mind.
dmazzoni
2014/09/30 22:01:19
Done.
|
| } else { |
| this.caseSensitive_ = true; |
| - cvox.ChromeVox.tts.speak('Case sensitive.', 0, null); |
| + cvox.ChromeVox.tts.speak('Case sensitive.', cvox.QueueMode.FLUSH, null); |
| } |
| }; |
| @@ -453,12 +453,12 @@ cvox.SearchWidget.prototype.outputSearchResult_ = function(result, searchStr) { |
| cvox.ChromeVox.navigationManager.speakDescriptionArray( |
| result, |
| - cvox.AbstractTts.QUEUE_MODE_FLUSH, |
| + cvox.QueueMode.FLUSH, |
| null, |
| cvox.AbstractTts.PERSONALITY_ANNOUNCEMENT); |
| cvox.ChromeVox.tts.speak(cvox.ChromeVox.msgs.getMsg('search_help_item'), |
| - cvox.AbstractTts.QUEUE_MODE_QUEUE, |
| + cvox.QueueMode.QUEUE, |
| cvox.AbstractTts.PERSONALITY_ANNOTATION); |
| // Output to Braille. |