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 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2206 "name": "getNodeForLocation", | 2206 "name": "getNodeForLocation", |
2207 "parameters": [ | 2207 "parameters": [ |
2208 { "name": "x", "type": "integer", "description": "X coordina te." }, | 2208 { "name": "x", "type": "integer", "description": "X coordina te." }, |
2209 { "name": "y", "type": "integer", "description": "Y coordina te." } | 2209 { "name": "y", "type": "integer", "description": "Y coordina te." } |
2210 ], | 2210 ], |
2211 "returns": [ | 2211 "returns": [ |
2212 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node at given coordinates." } | 2212 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node at given coordinates." } |
2213 ], | 2213 ], |
2214 "description": "Returns node id at given location.", | 2214 "description": "Returns node id at given location.", |
2215 "hidden": true | 2215 "hidden": true |
2216 }, | |
2217 { | |
2218 "name": "getRelayoutBoundary", | |
2219 "parameters": [ | |
2220 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." } | |
2221 ], | |
2222 "returns": [ | |
2223 { "name": "relayoutBoundaryNodeId", "$ref": "NodeId", "descr iption": "Relayout boundary node id for the given node." } | |
pfeldman
2013/09/24 14:49:18
should also be named "nodeId"
| |
2224 ], | |
2225 "description": "Returns the id of the nearest ancestor that is a relayout boundary.", | |
2226 "hidden": true | |
2216 } | 2227 } |
2217 ], | 2228 ], |
2218 "events": [ | 2229 "events": [ |
2219 { | 2230 { |
2220 "name": "documentUpdated", | 2231 "name": "documentUpdated", |
2221 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." | 2232 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." |
2222 }, | 2233 }, |
2223 { | 2234 { |
2224 "name": "inspectNodeRequested", | 2235 "name": "inspectNodeRequested", |
2225 "parameters": [ | 2236 "parameters": [ |
(...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4036 "parameters": [ | 4047 "parameters": [ |
4037 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 4048 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
4038 ] | 4049 ] |
4039 }, | 4050 }, |
4040 { | 4051 { |
4041 "name": "tracingComplete" | 4052 "name": "tracingComplete" |
4042 } | 4053 } |
4043 ] | 4054 ] |
4044 }] | 4055 }] |
4045 } | 4056 } |
OLD | NEW |