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

Unified Diff: chrome/common/extensions/api/experimental_accessibility.json

Issue 79543010: Added basic accessibility to TreeView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/common/extensions/api/experimental_accessibility.json
diff --git a/chrome/common/extensions/api/experimental_accessibility.json b/chrome/common/extensions/api/experimental_accessibility.json
index 9676abfc4b6260e5bfec067adedba586356f9b88..97bd69be478c76a4072bf90fc1bcd700ff568465 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" }
]
}
}
« no previous file with comments | « chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ('k') | ui/views/controls/tree/tree_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698