Chromium Code Reviews| 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 2275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2286 "name": "getAttributes", | 2286 "name": "getAttributes", |
| 2287 "parameters": [ | 2287 "parameters": [ |
| 2288 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to retrieve attibutes for." } | 2288 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to retrieve attibutes for." } |
| 2289 ], | 2289 ], |
| 2290 "returns": [ | 2290 "returns": [ |
| 2291 { "name": "attributes", "type": "array", "items": { "type": "string" }, "description": "An interleaved array of node attribute names and val ues." } | 2291 { "name": "attributes", "type": "array", "items": { "type": "string" }, "description": "An interleaved array of node attribute names and val ues." } |
| 2292 ], | 2292 ], |
| 2293 "description": "Returns attributes for the specified node." | 2293 "description": "Returns attributes for the specified node." |
| 2294 }, | 2294 }, |
| 2295 { | 2295 { |
| 2296 "name": "copyTo", | |
| 2297 "parameters": [ | |
| 2298 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to copy." }, | |
| 2299 { "name": "targetNodeId", "$ref": "NodeId", "description": " Id of the element to copy into." }, | |
|
aandrey
2014/07/18 05:30:05
to drop into
apavlov
2014/07/18 09:02:08
It is not clear WHAT we are going to drop. Expande
| |
| 2300 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional" : true, "description": "Drop element copy before given one." }, | |
|
aandrey
2014/07/18 05:30:05
add into description what an empty insertBeforeNod
apavlov
2014/07/18 09:02:08
Done.
| |
| 2301 { "name": "deep", "type": "boolean", "optional": true, "desc ription": "Whether a deep clone should be made. True by default." } | |
| 2302 ], | |
| 2303 "returns": [ | |
| 2304 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node clone." } | |
| 2305 ], | |
| 2306 "description": "Clones the specified node and places the copy in to the new container before the given anchor." | |
| 2307 }, | |
| 2308 { | |
| 2296 "name": "moveTo", | 2309 "name": "moveTo", |
| 2297 "parameters": [ | 2310 "parameters": [ |
| 2298 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to drop." }, | 2311 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to move." }, |
| 2299 { "name": "targetNodeId", "$ref": "NodeId", "description": " Id of the element to drop into." }, | 2312 { "name": "targetNodeId", "$ref": "NodeId", "description": " Id of the element to drop into." }, |
| 2300 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional" : true, "description": "Drop node before given one." } | 2313 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional" : true, "description": "Drop node before given one." } |
| 2301 ], | 2314 ], |
| 2302 "returns": [ | 2315 "returns": [ |
| 2303 { "name": "nodeId", "$ref": "NodeId", "description": "New id of the moved node." } | 2316 { "name": "nodeId", "$ref": "NodeId", "description": "New id of the moved node." } |
| 2304 ], | 2317 ], |
| 2305 "description": "Moves node into the new container, places it bef ore the given anchor." | 2318 "description": "Moves node into the new container, places it bef ore the given anchor." |
| 2306 }, | 2319 }, |
| 2307 { | 2320 { |
| 2308 "name": "undo", | 2321 "name": "undo", |
| (...skipping 1946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4255 { | 4268 { |
| 4256 "name": "dataAvailable", | 4269 "name": "dataAvailable", |
| 4257 "parameters": [ | 4270 "parameters": [ |
| 4258 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4271 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
| 4259 ], | 4272 ], |
| 4260 "handlers": ["browser", "frontend"] | 4273 "handlers": ["browser", "frontend"] |
| 4261 } | 4274 } |
| 4262 ] | 4275 ] |
| 4263 }] | 4276 }] |
| 4264 } | 4277 } |
| OLD | NEW |