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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/editable_text.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/common/editable_text.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/editable_text.js b/chrome/browser/resources/chromeos/chromevox/common/editable_text.js
index 3a4fa0cdad0f684c8b7a78d284013b16251170ad..5968c61f33ed7b0c2e1d73692a5bd74ba25ae4ac 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/editable_text.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/editable_text.js
@@ -344,9 +344,9 @@ cvox.ChromeVoxEditableTextBase.prototype.speak =
if (this.node && (document.activeElement != this.node)) {
return;
}
- var queueMode = cvox.AbstractTts.QUEUE_MODE_QUEUE;
+ var queueMode = cvox.QueueMode.QUEUE;
if (opt_triggeredByUser === true) {
- queueMode = cvox.AbstractTts.QUEUE_MODE_FLUSH;
+ queueMode = cvox.QueueMode.FLUSH;
}
this.tts.speak(str, queueMode, opt_personality || {});
};

Powered by Google App Engine
This is Rietveld 408576698