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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 1716663002: Add a treeChange type to Automation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/cvox2/background/output.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
index c6115d8831a0ba073338976b23f141e01963eea6..f3bfa177ba5c29270869955104f24d7bb7d710cb 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
@@ -261,10 +261,6 @@ Output.ROLE_INFO_ = {
radioGroup: {
msgId: 'role_radiogroup',
},
- region: {
- msgId: 'role_region',
- inherits: 'abstractContainer'
- },
rowHeader: {
msgId: 'role_rowheader',
inherits: 'abstractContainer'
@@ -477,6 +473,9 @@ Output.RULES = {
enter: '$name',
speak: '$if($name, $name, $docUrl)'
},
+ region: {
+ speak: '$descendants'
+ },
row: {
enter: '@row_granularity $tableRowIndex'
},
@@ -821,7 +820,7 @@ Output.prototype = {
go: function() {
// Speech.
var queueMode = this.queueMode_;
- if (Output.flushNextSpeechUtterance_ && this.speechBuffer_.length > 0) {
+ if (Output.flushNextSpeechUtterance_) {
queueMode = cvox.QueueMode.FLUSH;
Output.flushNextSpeechUtterance_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698