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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js

Issue 604423002: Use an enum for ChromeVox queue mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
index 09d47160423d185744628428df059eb7146149a6..00abb033a1ca240a0f5df51f17e29389a0a00dfb 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
@@ -30,9 +30,9 @@ goog.addSingletonGetter(cvox.ConsoleTts);
cvox.ConsoleTts.prototype.speak = function(textString, queueMode, properties) {
if (this.enabled_ && window['console']) {
var logStr = 'Speak';
- if (queueMode == cvox.AbstractTts.QUEUE_MODE_FLUSH) {
+ if (queueMode == cvox.QueueMode.FLUSH) {
logStr += ' (I)';
- } else if (queueMode == cvox.AbstractTts.QUEUE_MODE_CATEGORY_FLUSH) {
+ } else if (queueMode == cvox.QueueMode.CATEGORY_FLUSH) {
logStr += ' (C)';
} else {
logStr += ' (Q)';

Powered by Google App Engine
This is Rietveld 408576698