summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-02 07:38:21 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-02 07:38:21 +0000
commit46d94078b60972a763a9875b74c528eaeed4582c (patch)
treef9bacb7d175e3ffacf96d921a2991c42e63462c7 /chrome/common
parent24f3e96bfdf1fbf05ab0a0c34e7887bb6d89cb19 (diff)
downloadchromium_src-46d94078b60972a763a9875b74c528eaeed4582c.zip
chromium_src-46d94078b60972a763a9875b74c528eaeed4582c.tar.gz
chromium_src-46d94078b60972a763a9875b74c528eaeed4582c.tar.bz2
Added basic accessibility to TreeView.
BUG=322729 TEST=manual with ChromeVox Review URL: https://codereview.chromium.org/79543010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/api/experimental_accessibility.json25
1 files changed, 23 insertions, 2 deletions
diff --git a/chrome/common/extensions/api/experimental_accessibility.json b/chrome/common/extensions/api/experimental_accessibility.json
index 9676abf..97bd69b 100644
--- a/chrome/common/extensions/api/experimental_accessibility.json
+++ b/chrome/common/extensions/api/experimental_accessibility.json
@@ -94,6 +94,25 @@
}
},
{
+ "id": "TreeDetails",
+ "type": "object",
+ "description": "Information about the state of a tree control.",
+ "properties": {
+ }
+ },
+ {
+ "id": "TreeItemDetails",
+ "type": "object",
+ "description": "Information about a selected tree control item.",
+ "properties": {
+ "itemDepth": {"type": "integer", "description": "The 0-based depth of this tree item."},
+ "itemCount": {"type": "integer", "description": "The number of items in the current depth."},
+ "itemIndex": {"type": "integer", "description": "The 0-based index of this tree item at the current tree depth."},
+ "childrenCount": {"type": "integer", "description": "The number of children of the current tree item."},
+ "isItemExpanded": {"type": "boolean", "description": "True if this if this tree item is expanded."}
+ }
+ },
+ {
"id": "AlertInfo",
"type": "object",
"description": "Information about an alert",
@@ -112,7 +131,7 @@
"type": {
"type": "string",
"description": "The type of this object, which determines the contents of 'details'.",
- "enum": ["alert", "button", "checkbox", "combobox", "link", "menu", "menuitem", "radiobutton", "slider", "tab", "textbox", "window"]
+ "enum": ["alert", "button", "checkbox", "combobox", "link", "menu", "menuitem", "radiobutton", "slider", "tab", "textbox", "tree", "treeitem", "window"]
},
"name": {
"type": "string",
@@ -134,7 +153,9 @@
{ "$ref": "RadioButtonDetails" },
{ "$ref": "SliderDetails" },
{ "$ref": "TabDetails" },
- { "$ref": "TextBoxDetails" }
+ { "$ref": "TextBoxDetails" },
+ { "$ref": "TreeDetails" },
+ { "$ref": "TreeItemDetails" }
]
}
}