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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/interface/tts_interface.js

Issue 596033002: Entering / exiting dialog notification should not interrupt live region. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event_watcher_tests
Patch Set: Use map and filter 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/host/interface/tts_interface.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/interface/tts_interface.js b/chrome/browser/resources/chromeos/chromevox/host/interface/tts_interface.js
index c575aa411d9b1e029c3c8e58cdf8de36f425f99b..efc98d7e7388c653bbb1255d7dce16e3a559c0e9 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/interface/tts_interface.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/interface/tts_interface.js
@@ -9,8 +9,23 @@
*
*/
-goog.provide('cvox.TtsInterface');
goog.provide('cvox.TtsCapturingEventListener');
+goog.provide('cvox.TtsCategory');
+goog.provide('cvox.TtsInterface');
+
+/**
+ * Categories for a speech utterance. This can be used with the
+ * CATEGORY_FLUSH queue mode, which flushes all utterances from a given
+ * category but not other utterances.
+ *
+ * NAV: speech related to explicit navigation, or focus changing.
+ *
+ * @enum {string}
+ */
+cvox.TtsCategory = {
+ LIVE: 'live',
+ NAV: 'nav'
+};
/**
* @interface

Powered by Google App Engine
This is Rietveld 408576698