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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.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/background/braille_captions_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
index 3e4d386e2c465f402ec676a4498ae219eaa2fad0..0d2183c970466678700f506f1af19fb32f677b3a 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
@@ -88,7 +88,7 @@ cvox.BrailleCaptionsBackground.setActive = function(newValue) {
var msg = newValue ?
cvox.ChromeVox.msgs.getMsg('braille_captions_enabled') :
cvox.ChromeVox.msgs.getMsg('braille_captions_disabled');
- cvox.ChromeVox.tts.speak(msg);
+ cvox.ChromeVox.tts.speak(msg, cvox.QueueMode.QUEUE);
cvox.ChromeVox.braille.write(cvox.NavBraille.fromText(msg));
}
};

Powered by Google App Engine
This is Rietveld 408576698