OLD | NEW |
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 2339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2350 ], | 2350 ], |
2351 "description": "Rectangle." | 2351 "description": "Rectangle." |
2352 }, | 2352 }, |
2353 { | 2353 { |
2354 "id": "HighlightConfig", | 2354 "id": "HighlightConfig", |
2355 "type": "object", | 2355 "type": "object", |
2356 "properties": [ | 2356 "properties": [ |
2357 { "name": "showInfo", "type": "boolean", "optional": true, "
description": "Whether the node info tooltip should be shown (default: false)."
}, | 2357 { "name": "showInfo", "type": "boolean", "optional": true, "
description": "Whether the node info tooltip should be shown (default: false)."
}, |
2358 { "name": "showRulers", "type": "boolean", "optional": true,
"description": "Whether the rulers should be shown (default: false)." }, | 2358 { "name": "showRulers", "type": "boolean", "optional": true,
"description": "Whether the rulers should be shown (default: false)." }, |
2359 { "name": "showExtensionLines", "type": "boolean", "optional
": true, "description": "Whether the extension lines from node to the rulers sho
uld be shown (default: false)." }, | 2359 { "name": "showExtensionLines", "type": "boolean", "optional
": true, "description": "Whether the extension lines from node to the rulers sho
uld be shown (default: false)." }, |
2360 { "name": "showLayoutEditor", "type": "boolean", "optional":
true, "hidden": true}, | |
2361 { "name": "displayAsMaterial", "type": "boolean", "optional"
: true, "hidden": true}, | 2360 { "name": "displayAsMaterial", "type": "boolean", "optional"
: true, "hidden": true}, |
2362 { "name": "contentColor", "$ref": "RGBA", "optional": true,
"description": "The content box highlight fill color (default: transparent)." }, | 2361 { "name": "contentColor", "$ref": "RGBA", "optional": true,
"description": "The content box highlight fill color (default: transparent)." }, |
2363 { "name": "paddingColor", "$ref": "RGBA", "optional": true,
"description": "The padding highlight fill color (default: transparent)." }, | 2362 { "name": "paddingColor", "$ref": "RGBA", "optional": true,
"description": "The padding highlight fill color (default: transparent)." }, |
2364 { "name": "borderColor", "$ref": "RGBA", "optional": true, "
description": "The border highlight fill color (default: transparent)." }, | 2363 { "name": "borderColor", "$ref": "RGBA", "optional": true, "
description": "The border highlight fill color (default: transparent)." }, |
2365 { "name": "marginColor", "$ref": "RGBA", "optional": true, "
description": "The margin highlight fill color (default: transparent)." }, | 2364 { "name": "marginColor", "$ref": "RGBA", "optional": true, "
description": "The margin highlight fill color (default: transparent)." }, |
2366 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr
ue, "hidden": true, "description": "The event target element highlight fill colo
r (default: transparent)." }, | 2365 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr
ue, "hidden": true, "description": "The event target element highlight fill colo
r (default: transparent)." }, |
2367 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h
idden": true, "description": "The shape outside fill color (default: transparent
)." }, | 2366 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h
idden": true, "description": "The shape outside fill color (default: transparent
)." }, |
2368 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr
ue, "hidden": true, "description": "The shape margin fill color (default: transp
arent)." } | 2367 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr
ue, "hidden": true, "description": "The shape margin fill color (default: transp
arent)." } |
2369 ], | 2368 ], |
2370 "description": "Configuration data for the highlighting of page
elements." | 2369 "description": "Configuration data for the highlighting of page
elements." |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2528 "returns": [ | 2527 "returns": [ |
2529 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
d for given object." } | 2528 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
d for given object." } |
2530 ], | 2529 ], |
2531 "description": "Requests that the node is sent to the caller giv
en the JavaScript node object reference. All nodes that form the path from the n
ode to the root are also sent to the client as a series of <code>setChildNodes</
code> notifications." | 2530 "description": "Requests that the node is sent to the caller giv
en the JavaScript node object reference. All nodes that form the path from the n
ode to the root are also sent to the client as a series of <code>setChildNodes</
code> notifications." |
2532 }, | 2531 }, |
2533 { | 2532 { |
2534 "name": "setInspectModeEnabled", | 2533 "name": "setInspectModeEnabled", |
2535 "hidden": true, | 2534 "hidden": true, |
2536 "parameters": [ | 2535 "parameters": [ |
2537 { "name": "enabled", "type": "boolean", "description": "True
to enable inspection mode, false to disable it." }, | 2536 { "name": "enabled", "type": "boolean", "description": "True
to enable inspection mode, false to disable it." }, |
2538 { "name": "inspectUAShadowDOM", "type": "boolean", "optional
": true, "description": "True to enable inspection mode for user agent shadow DO
M." }, | 2537 { "name": "mode", "type": "string", "enum": ["showUAShadowDO
M", "showLayoutEditor"], "optional": true, "description": "True to enable inspec
tion mode for user agent shadow DOM." }, |
2539 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt
ional": true, "description": "A descriptor for the highlight appearance of hover
ed-over nodes. May be omitted if <code>enabled == false</code>." } | 2538 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt
ional": true, "description": "A descriptor for the highlight appearance of hover
ed-over nodes. May be omitted if <code>enabled == false</code>." } |
2540 ], | 2539 ], |
2541 "description": "Enters the 'inspect' mode. In this mode, element
s that user is hovering over are highlighted. Backend then generates 'inspectNod
eRequested' event upon element selection." | 2540 "description": "Enters the 'inspect' mode. In this mode, element
s that user is hovering over are highlighted. Backend then generates 'inspectNod
eRequested' event upon element selection." |
2542 }, | 2541 }, |
2543 { | 2542 { |
2544 "name": "highlightRect", | 2543 "name": "highlightRect", |
2545 "parameters": [ | 2544 "parameters": [ |
2546 { "name": "x", "type": "integer", "description": "X coordina
te" }, | 2545 { "name": "x", "type": "integer", "description": "X coordina
te" }, |
2547 { "name": "y", "type": "integer", "description": "Y coordina
te" }, | 2546 { "name": "y", "type": "integer", "description": "Y coordina
te" }, |
2548 { "name": "width", "type": "integer", "description": "Rectan
gle width" }, | 2547 { "name": "width", "type": "integer", "description": "Rectan
gle width" }, |
(...skipping 2663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5212 ], | 5211 ], |
5213 "returns": [ | 5212 "returns": [ |
5214 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5213 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5215 ], | 5214 ], |
5216 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5215 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5217 "hidden": true | 5216 "hidden": true |
5218 } | 5217 } |
5219 ] | 5218 ] |
5220 }] | 5219 }] |
5221 } | 5220 } |
OLD | NEW |