| Index: chrome/renderer/resources/extensions/automation/automation_node.js
|
| diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
|
| index d1173dd7a474286210e9d899015677acdf18135f..543ed831cc0d0fb8cf995475ab66c59b036d6f9a 100644
|
| --- a/chrome/renderer/resources/extensions/automation/automation_node.js
|
| +++ b/chrome/renderer/resources/extensions/automation/automation_node.js
|
| @@ -135,6 +135,13 @@ var GetState = requireNative('automationInternal').GetState;
|
| /**
|
| * @param {number} axTreeID The id of the accessibility tree.
|
| * @param {number} nodeID The id of a node.
|
| + * @return {string} The checked state, as undefined, "true", "false" or "mixed".
|
| + */
|
| +var GetChecked = requireNative('automationInternal').GetChecked;
|
| +
|
| +/**
|
| + * @param {number} axTreeID The id of the accessibility tree.
|
| + * @param {number} nodeID The id of a node.
|
| * @return {string} The role of the node, or undefined if the tree or
|
| * node wasn't found.
|
| */
|
| @@ -283,6 +290,10 @@ AutomationNodeImpl.prototype = {
|
| return GetRole(this.treeID, this.id);
|
| },
|
|
|
| + get checked() {
|
| + return GetChecked(this.treeID, this.id);
|
| + },
|
| +
|
| get location() {
|
| return GetLocation(this.treeID, this.id);
|
| },
|
| @@ -705,7 +716,6 @@ var stringAttributes = [
|
|
|
| var boolAttributes = [
|
| 'ariaReadonly',
|
| - 'buttonMixed',
|
| 'containerLiveAtomic',
|
| 'containerLiveBusy',
|
| 'liveAtomic',
|
| @@ -1113,6 +1123,7 @@ utils.expose(AutomationNode, AutomationNodeImpl, {
|
| 'nextSibling',
|
| 'isRootNode',
|
| 'role',
|
| + 'checked',
|
| 'state',
|
| 'location',
|
| 'indexInParent',
|
|
|