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

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: 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/testing/tester.js ('k') | 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/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..ba4444e21725f3d3a5052bd8038d7487c28c3f04 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
@@ -18,6 +18,7 @@ goog.require('cvox.BrailleUtil');
goog.require('cvox.DescriptionUtil');
goog.require('cvox.DomUtil');
goog.require('cvox.NavDescription');
+goog.require('cvox.QueueMode');
goog.require('cvox.TraverseTable');
/**
@@ -204,7 +205,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 +218,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;
};
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/testing/tester.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698