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

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

Issue 593283002: Update console log to reflect new speech queue features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@exiting_dialog
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bfc852193d6aa4dd9bebf87aed826a04aa198db8..09d47160423d185744628428df059eb7146149a6 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js
@@ -32,9 +32,14 @@ cvox.ConsoleTts.prototype.speak = function(textString, queueMode, properties) {
var logStr = 'Speak';
if (queueMode == cvox.AbstractTts.QUEUE_MODE_FLUSH) {
logStr += ' (I)';
+ } else if (queueMode == cvox.AbstractTts.QUEUE_MODE_CATEGORY_FLUSH) {
+ logStr += ' (C)';
} else {
logStr += ' (Q)';
}
+ if (properties && properties.category) {
+ logStr += ' category=' + properties.category;
+ }
logStr += ' "' + textString + '"';
window['console']['log'](logStr);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698