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 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2361 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true}, | 2361 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true}, |
2362 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, | 2362 { "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)." }, | 2363 { "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)." }, | 2364 { "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)." }, | 2365 { "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)." }, | 2366 { "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 )." }, | 2367 { "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)." } | 2368 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } |
2369 ], | 2369 ], |
2370 "description": "Configuration data for the highlighting of page elements." | 2370 "description": "Configuration data for the highlighting of page elements." |
2371 }, | |
2372 { | |
2373 "id": "InspectMode", | |
dgozman
2015/08/29 01:36:40
hidden
sergeyv
2015/08/29 02:03:44
Done.
| |
2374 "type": "string", | |
2375 "enum": [ | |
2376 "searchForNormal", | |
dgozman
2015/08/29 01:36:40
searchForNode
sergeyv
2015/08/29 02:03:44
Done.
| |
2377 "searchForUAShadowDOM", | |
2378 "none" | |
2379 ] | |
2371 } | 2380 } |
2372 ], | 2381 ], |
2373 "commands": [ | 2382 "commands": [ |
2374 { | 2383 { |
2375 "name": "enable", | 2384 "name": "enable", |
2376 "description": "Enables DOM agent for the given page." | 2385 "description": "Enables DOM agent for the given page." |
2377 }, | 2386 }, |
2378 { | 2387 { |
2379 "name": "disable", | 2388 "name": "disable", |
2380 "description": "Disables DOM agent for the given page." | 2389 "description": "Disables DOM agent for the given page." |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2524 "name": "requestNode", | 2533 "name": "requestNode", |
2525 "parameters": [ | 2534 "parameters": [ |
2526 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "JavaScript object id to convert into node." } | 2535 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "JavaScript object id to convert into node." } |
2527 ], | 2536 ], |
2528 "returns": [ | 2537 "returns": [ |
2529 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } | 2538 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } |
2530 ], | 2539 ], |
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." | 2540 "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 }, | 2541 }, |
2533 { | 2542 { |
2534 "name": "setInspectModeEnabled", | 2543 "name": "setInspectMode", |
2535 "hidden": true, | 2544 "hidden": true, |
2536 "parameters": [ | 2545 "parameters": [ |
2537 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." }, | 2546 { "name": "mode", "$ref": "InspectMode", "description": "Set an inspection mode." }, |
2538 { "name": "inspectUAShadowDOM", "type": "boolean", "optional ": true, "description": "True to enable inspection mode for user agent shadow DO M." }, | |
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>." } | 2547 { "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 ], | 2548 ], |
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." | 2549 "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 }, | 2550 }, |
2543 { | 2551 { |
2544 "name": "highlightRect", | 2552 "name": "highlightRect", |
2545 "parameters": [ | 2553 "parameters": [ |
2546 { "name": "x", "type": "integer", "description": "X coordina te" }, | 2554 { "name": "x", "type": "integer", "description": "X coordina te" }, |
2547 { "name": "y", "type": "integer", "description": "Y coordina te" }, | 2555 { "name": "y", "type": "integer", "description": "Y coordina te" }, |
2548 { "name": "width", "type": "integer", "description": "Rectan gle width" }, | 2556 { "name": "width", "type": "integer", "description": "Rectan gle width" }, |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2744 "events": [ | 2752 "events": [ |
2745 { | 2753 { |
2746 "name": "documentUpdated", | 2754 "name": "documentUpdated", |
2747 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." | 2755 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." |
2748 }, | 2756 }, |
2749 { | 2757 { |
2750 "name": "inspectNodeRequested", | 2758 "name": "inspectNodeRequested", |
2751 "parameters": [ | 2759 "parameters": [ |
2752 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip tion": "Id of the node to inspect." } | 2760 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip tion": "Id of the node to inspect." } |
2753 ], | 2761 ], |
2754 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectModeEnabled</code>.", | 2762 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectMode</code>.", |
2755 "hidden" : true | 2763 "hidden" : true |
2756 }, | 2764 }, |
2757 { | 2765 { |
2758 "name": "setChildNodes", | 2766 "name": "setChildNodes", |
2759 "parameters": [ | 2767 "parameters": [ |
2760 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." }, | 2768 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." }, |
2761 { "name": "nodes", "type": "array", "items": { "$ref": "Node " }, "description": "Child nodes array." } | 2769 { "name": "nodes", "type": "array", "items": { "$ref": "Node " }, "description": "Child nodes array." } |
2762 ], | 2770 ], |
2763 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds." | 2771 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds." |
2764 }, | 2772 }, |
(...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5212 ], | 5220 ], |
5213 "returns": [ | 5221 "returns": [ |
5214 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5222 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
5215 ], | 5223 ], |
5216 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5224 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
5217 "hidden": true | 5225 "hidden": true |
5218 } | 5226 } |
5219 ] | 5227 ] |
5220 }] | 5228 }] |
5221 } | 5229 } |
OLD | NEW |