OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": 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 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2054 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, | 2054 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, |
2055 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "experimental": true }, | 2055 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "experimental": true }, |
2056 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "experimen
tal": true }, | 2056 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "experimen
tal": true }, |
2057 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "experimental": true }, | 2057 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "experimental": true }, |
2058 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, | 2058 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, |
2059 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "experimental": true } | 2059 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "experimental": true } |
2060 ], | 2060 ], |
2061 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." | 2061 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." |
2062 }, | 2062 }, |
2063 { | 2063 { |
| 2064 "id": "InlineTextBox", |
| 2065 "type": "object", |
| 2066 "properties": [ |
| 2067 { "name": "boundingBox", "$ref": "Rect", "description": "The
absolute position bounding box." }, |
| 2068 { "name": "text", "type": "string", "description": "Post lay
out inline text snippet." } |
| 2069 ], |
| 2070 "description": "Details of post layout rendered text positions."
, |
| 2071 "experimental": true |
| 2072 }, |
| 2073 { |
| 2074 "id": "LayoutTreeNode", |
| 2075 "type": "object", |
| 2076 "properties": [ |
| 2077 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip
tion": "The BackendNodeId of the related DOM node." }, |
| 2078 { "name": "boundingBox", "$ref": "Rect", "description": "The
absolute position bounding box." }, |
| 2079 { "name": "layoutText", "type": "string", "optional": true,
"description": "Contents of the LayoutText if any" }, |
| 2080 { "name": "inlineTextNodes", "type": "array", "optional": tr
ue, "items": { "$ref": "InlineTextBox" }, "description": "The post layout inline
text nodes, if any." } |
| 2081 ], |
| 2082 "description": "Details of an element in the DOM tree with a Lay
outObject.", |
| 2083 "experimental": true |
| 2084 }, |
| 2085 { |
2064 "id": "RGBA", | 2086 "id": "RGBA", |
2065 "type": "object", | 2087 "type": "object", |
2066 "properties": [ | 2088 "properties": [ |
2067 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, | 2089 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, |
2068 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, | 2090 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, |
2069 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, | 2091 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, |
2070 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } | 2092 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } |
2071 ], | 2093 ], |
2072 "description": "A structure holding an RGBA color." | 2094 "description": "A structure holding an RGBA color." |
2073 }, | 2095 }, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 "description": "Disables DOM agent for the given page." | 2181 "description": "Disables DOM agent for the given page." |
2160 }, | 2182 }, |
2161 { | 2183 { |
2162 "name": "getDocument", | 2184 "name": "getDocument", |
2163 "returns": [ | 2185 "returns": [ |
2164 { "name": "root", "$ref": "Node", "description": "Resulting
node." } | 2186 { "name": "root", "$ref": "Node", "description": "Resulting
node." } |
2165 ], | 2187 ], |
2166 "description": "Returns the root DOM node to the caller." | 2188 "description": "Returns the root DOM node to the caller." |
2167 }, | 2189 }, |
2168 { | 2190 { |
| 2191 "name": "getLayoutTreeNodes", |
| 2192 "returns": [ |
| 2193 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } } |
| 2194 ], |
| 2195 "description": "Returns the document's LayoutTreeNodes to the ca
ller.", |
| 2196 "experimental": true |
| 2197 }, |
| 2198 { |
2169 "name": "collectClassNamesFromSubtree", | 2199 "name": "collectClassNamesFromSubtree", |
2170 "parameters": [ | 2200 "parameters": [ |
2171 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } | 2201 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } |
2172 ], | 2202 ], |
2173 "returns": [ | 2203 "returns": [ |
2174 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } | 2204 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } |
2175 ], | 2205 ], |
2176 "description": "Collects class names for the node with given id
and all of it's child nodes.", | 2206 "description": "Collects class names for the node with given id
and all of it's child nodes.", |
2177 "experimental": true | 2207 "experimental": true |
2178 }, | 2208 }, |
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4544 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4574 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4545 "parameters": [ | 4575 "parameters": [ |
4546 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4576 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4547 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4577 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4548 ], | 4578 ], |
4549 "handlers": ["browser"] | 4579 "handlers": ["browser"] |
4550 } | 4580 } |
4551 ] | 4581 ] |
4552 }] | 4582 }] |
4553 } | 4583 } |
OLD | NEW |