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

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js

Issue 604423002: Use an enum for ChromeVox queue mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js b/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
index c8b85c0745e2982cbd3cb0d9f3351dcb0b602459..d2a29cfe30de1fdb1483a7db3ea508c0e5e2d20f 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
@@ -204,7 +204,7 @@ cvox.TableWalker.prototype.nextCol = function(sel) {
*/
cvox.TableWalker.prototype.announceHeaders = function(sel) {
cvox.ChromeVox.tts.speak(this.getHeaderText_(sel),
- cvox.AbstractTts.QUEUE_MODE_FLUSH,
+ cvox.QueueMode.FLUSH,
cvox.AbstractTts.PERSONALITY_ANNOTATION);
return sel;
};
@@ -217,7 +217,7 @@ cvox.TableWalker.prototype.announceHeaders = function(sel) {
cvox.TableWalker.prototype.speakTableLocation = function(sel) {
cvox.ChromeVox.navigationManager.speakDescriptionArray(
this.getLocationDescription_(sel),
- cvox.AbstractTts.QUEUE_MODE_FLUSH,
+ cvox.QueueMode.FLUSH,
null);
return sel;
};

Powered by Google App Engine
This is Rietveld 408576698