| 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 04f3bd5a80087cfb5f6bb110f4dd3ea3aeda0f47..2208f0bb661352b97e338298f7e1156b41cec98d 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
|
| @@ -486,4 +486,14 @@ AutomationPredicate.makeHeadingPredicate = function(level) {
|
| };
|
| };
|
|
|
| +/**
|
| + * Matches against nodes that we may be able to retrieve image data from.
|
| + * @param {!AutomationNode} node
|
| + * @return {boolean}
|
| + */
|
| +AutomationPredicate.supportsImageData = AutomationPredicate.roles([
|
| + Role.CANVAS,
|
| + Role.IMAGE,
|
| + Role.VIDEO]);
|
| +
|
| }); // goog.scope
|
|
|