Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
index 717e78e7845308509d90b65b5791e526ed18be2c..866cd0e4d6a39001f4f2a24b0fb23b5eeef8fc99 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js |
@@ -278,7 +278,7 @@ AutomationPredicate.linebreak = function(first, second) { |
AutomationPredicate.container = function(node) { |
return AutomationPredicate.match({ |
anyRole: [ |
- Role.DIV, |
dmazzoni
2017/06/02 19:55:24
Why didn't the compile fail when DIV was removed?
David Tseng
2017/06/02 21:34:34
No, it has to do with the externs not being re-gen
michaelpg
2017/06/03 00:01:35
Add automation.idl to api_pair_names: https://cs.c
|
+ Role.GENERIC_CONTAINER, |
Role.DOCUMENT, |
Role.GROUP, |
Role.LIST_ITEM, |
@@ -372,7 +372,7 @@ AutomationPredicate.shouldIgnoreNode = function(node) { |
return AutomationPredicate.leaf(node) && |
(AutomationPredicate.roles([Role.CLIENT, |
Role.COLUMN, |
- Role.DIV, |
+ Role.GENERIC_CONTAINER, |
Role.GROUP, |
Role.IMAGE, |
Role.STATIC_TEXT, |