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

Side by Side Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 5181 matching lines...) Expand 10 before | Expand all | Expand 10 after
5192 "description": "Enum of possible property types." 5192 "description": "Enum of possible property types."
5193 }, 5193 },
5194 { 5194 {
5195 "id": "AXValueSourceType", 5195 "id": "AXValueSourceType",
5196 "type": "string", 5196 "type": "string",
5197 "enum": [ "attribute", "implicit", "style", "contents", "placeho lder", "relatedElement" ], 5197 "enum": [ "attribute", "implicit", "style", "contents", "placeho lder", "relatedElement" ],
5198 "description": "Enum of possible property sources." 5198 "description": "Enum of possible property sources."
5199 }, 5199 },
5200 { "id": "AXValueNativeSourceType", 5200 { "id": "AXValueNativeSourceType",
5201 "type": "string", 5201 "type": "string",
5202 "enum": [ "figcaption", "label", "labelfor", "labelwrapped", "lege nd", "tablecaption", "other" ], 5202 "enum": [ "figcaption", "label", "labelfor", "labelwrapped", "lege nd", "tablecaption", "title", "other" ],
5203 "description": "Enum of possible native property sources (as a sub type of a particular AXValueSourceType)." 5203 "description": "Enum of possible native property sources (as a sub type of a particular AXValueSourceType)."
5204 }, 5204 },
5205 { 5205 {
5206 "id": "AXValueSource", 5206 "id": "AXValueSource",
5207 "type": "object", 5207 "type": "object",
5208 "properties": [ 5208 "properties": [
5209 { "name": "type", "$ref": "AXValueSourceType", "description" : "What type of source this is." }, 5209 { "name": "type", "$ref": "AXValueSourceType", "description" : "What type of source this is." },
5210 { "name": "value", "$ref": "AXValue", "description": "The va lue of this property source.", "optional": true }, 5210 { "name": "value", "$ref": "AXValue", "description": "The va lue of this property source.", "optional": true },
5211 { "name": "attribute", "type": "string", "description": "The attribute, if any.", "optional": true }, 5211 { "name": "attribute", "type": "string", "description": "The attribute, if any.", "optional": true },
5212 { "name": "superseded", "type": "boolean", "description": "W hether this source is superseded by a higher priority source.", "optional": true }, 5212 { "name": "superseded", "type": "boolean", "description": "W hether this source is superseded by a higher priority source.", "optional": true },
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
5279 "id": "AXNode", 5279 "id": "AXNode",
5280 "type": "object", 5280 "type": "object",
5281 "properties": [ 5281 "properties": [
5282 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." }, 5282 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." },
5283 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" }, 5283 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" },
5284 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true }, 5284 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true },
5285 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true}, 5285 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true},
5286 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true }, 5286 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true },
5287 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true }, 5287 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true },
5288 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true }, 5288 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true },
5289 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
5290 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true } 5289 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
5291 ], 5290 ],
5292 "description": "A node in the accessibility tree." 5291 "description": "A node in the accessibility tree."
5293 } 5292 }
5294 ], 5293 ],
5295 "commands": [ 5294 "commands": [
5296 { 5295 {
5297 "name": "getAXNode", 5296 "name": "getAXNode",
5298 "parameters": [ 5297 "parameters": [
5299 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } 5298 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
5300 ], 5299 ],
5301 "returns": [ 5300 "returns": [
5302 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5301 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5303 ], 5302 ],
5304 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5303 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5305 "hidden": true 5304 "hidden": true
5306 } 5305 }
5307 ] 5306 ]
5308 }] 5307 }]
5309 } 5308 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698