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 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2098 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." }, | 2098 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." }, |
2099 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, | 2099 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, |
2100 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, | 2100 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, |
2101 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, | 2101 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, |
2102 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, | 2102 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, |
2103 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }, | 2103 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }, |
2104 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." }, | 2104 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." }, |
2105 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } | 2105 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } |
2106 ], | 2106 ], |
2107 "description": "Configuration data for the highlighting of page elements." | 2107 "description": "Configuration data for the highlighting of page elements." |
2108 }, | |
2109 { | |
2110 "id": "AnimationPlayer", | |
2111 "type": "object", | |
2112 "hidden": true, | |
2113 "properties": [ | |
2114 { "name": "id", "type": "string", "description": "<code>Anim ationPlayer</code>'s id." }, | |
2115 { "name": "paused", "type": "boolean", "description": "<code >AnimationPlayer</code>'s paused." }, | |
vsevik
2014/10/14 09:08:09
s/paused/paused state/
dstockwell
2014/10/14 09:19:14
Drive by: AnimationPlayer doesn't have paused/fini
samli
2014/10/15 08:46:45
Acknowledged. Changed to playState instead.
| |
2116 { "name": "finished", "type": "boolean", "description": "<co de>AnimationPlayer</code>'s finished." }, | |
vsevik
2014/10/14 09:08:09
ditto
samli
2014/10/15 08:46:45
Done.
| |
2117 { "name": "playbackRate", "type": "number", "description": " <code>AnimationPlayer</code>'s playbackRate." }, | |
vsevik
2014/10/14 09:08:09
playback rate
samli
2014/10/15 08:46:45
Done.
| |
2118 { "name": "startTime", "type": "number", "description": "<co de>AnimationPlayer</code>'s current time." }, | |
vsevik
2014/10/14 09:08:09
start time
samli
2014/10/15 08:46:45
Done.
| |
2119 { "name": "currentTime", "type": "number", "description": "< code>AnimationPlayer</code>'s current time." }, | |
2120 { "name": "animation", "$ref": "DOM.AnimationNode", "descrip tion": "<code>AnimationPlayer</code>'s source animation." } | |
vsevik
2014/10/14 09:08:09
source animation node
vsevik
2014/10/14 09:08:09
I think naming it source better matches the spec.
samli
2014/10/15 08:46:45
Done.
| |
2121 ], | |
2122 "description": "AnimationPlayer instance." | |
2123 }, | |
2124 { | |
2125 "id": "AnimationNode", | |
2126 "type": "object", | |
2127 "hidden": true, | |
2128 "properties": [ | |
2129 { "name": "startDelay", "type": "number", "description": "<c ode>AnimationNode</code>'s start delay." }, | |
2130 { "name": "playbackRate", "type": "number", "description": " <code>AnimationNode</code>'s playbackRate." }, | |
2131 { "name": "iterationStart", "type": "number", "description": "<code>AnimationNode</code>'s iteration start." }, | |
2132 { "name": "iterationCount", "type": "number", "description": "<code>AnimationNode</code>'s iteration count." }, | |
2133 { "name": "duration", "type": "number", "description": "<cod e>AnimationNode</code>'s iteration duration." }, | |
2134 { "name": "direction", "type": "number", "description": "<co de>AnimationNode</code>'s playback direction." }, | |
2135 { "name": "fillMode", "type": "number", "description": "<cod e>AnimationNode</code>'s fill mode." }, | |
2136 { "name": "timeFraction", "type": "number", "description": " <code>AnimationNode</code>'s time fraction." }, | |
2137 { "name": "name", "type": "string", "description": "<code>An imationNode</code> name."} | |
2138 ], | |
2139 "description": "AnimationNode instance" | |
2108 } | 2140 } |
2109 ], | 2141 ], |
2110 "commands": [ | 2142 "commands": [ |
2111 { | 2143 { |
2112 "name": "enable", | 2144 "name": "enable", |
2113 "description": "Enables DOM agent for the given page." | 2145 "description": "Enables DOM agent for the given page." |
2114 }, | 2146 }, |
2115 { | 2147 { |
2116 "name": "disable", | 2148 "name": "disable", |
2117 "description": "Disables DOM agent for the given page." | 2149 "description": "Disables DOM agent for the given page." |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2461 { | 2493 { |
2462 "name": "getRelayoutBoundary", | 2494 "name": "getRelayoutBoundary", |
2463 "parameters": [ | 2495 "parameters": [ |
2464 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." } | 2496 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." } |
2465 ], | 2497 ], |
2466 "returns": [ | 2498 "returns": [ |
2467 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo ut boundary node id for the given node." } | 2499 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo ut boundary node id for the given node." } |
2468 ], | 2500 ], |
2469 "description": "Returns the id of the nearest ancestor that is a relayout boundary.", | 2501 "description": "Returns the id of the nearest ancestor that is a relayout boundary.", |
2470 "hidden": true | 2502 "hidden": true |
2503 }, | |
2504 { | |
2505 "name": "getAnimationPlayersForNode", | |
2506 "parameters": [ | |
2507 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get animation players for." } | |
2508 ], | |
2509 "returns": [ | |
2510 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." } | |
2511 ], | |
2512 "description": "Returns animation players relevant to the node." , | |
2513 "hidden": true | |
2514 }, | |
2515 { | |
2516 "name": "pauseAnimationPlayer", | |
2517 "parameters": [ | |
2518 { "name": "id", "type": "string", "description": "Id of the animation player." } | |
2519 ], | |
2520 "returns": [ | |
2521 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des cription": "Animation Player with current time set." } | |
2522 ], | |
2523 "description": "Pauses animations relevant to the node.", | |
2524 "hidden": true | |
2525 }, | |
2526 { | |
2527 "name": "playAnimationPlayer", | |
2528 "parameters": [ | |
2529 { "name": "id", "type": "string", "description": "Id of the animation player." } | |
2530 ], | |
2531 "returns": [ | |
2532 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des cription": "Animation Player with current time set." } | |
2533 ], | |
2534 "description": "Plays animations relevant to the node.", | |
2535 "hidden": true | |
2536 }, | |
2537 { | |
2538 "name": "setAnimationPlayerCurrentTime", | |
2539 "parameters": [ | |
2540 { "name": "id", "type": "string", "description": "Id of the animation player." }, | |
2541 { "name": "currentTime", "type": "number", "description": "C urrent time to set animation to"} | |
2542 ], | |
2543 "returns": [ | |
2544 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des cription": "Animation Player with current time set." } | |
2545 ], | |
2546 "description": "Sets the current time on given AnimationPlayer." , | |
2547 "hidden": true | |
2548 }, | |
2549 { | |
2550 "name": "getAnimationPlayerState", | |
2551 "parameters": [ | |
2552 { "name": "id", "type": "string", "description": "Id of the animation player." } | |
2553 ], | |
2554 "returns": [ | |
2555 { "name": "currentTime", "type": "number", "description": "C urrent time of the animation player." }, | |
2556 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } | |
2557 ], | |
2558 "description": "Gets the state of an AnimationPlayer.", | |
2559 "hidden": true | |
2471 } | 2560 } |
2472 ], | 2561 ], |
2473 "events": [ | 2562 "events": [ |
2474 { | 2563 { |
2475 "name": "documentUpdated", | 2564 "name": "documentUpdated", |
2476 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." | 2565 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." |
2477 }, | 2566 }, |
2478 { | 2567 { |
2479 "name": "inspectNodeRequested", | 2568 "name": "inspectNodeRequested", |
2480 "parameters": [ | 2569 "parameters": [ |
(...skipping 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4425 { | 4514 { |
4426 "name": "dataAvailable", | 4515 "name": "dataAvailable", |
4427 "parameters": [ | 4516 "parameters": [ |
4428 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4517 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
4429 ], | 4518 ], |
4430 "handlers": ["browser", "frontend"] | 4519 "handlers": ["browser", "frontend"] |
4431 } | 4520 } |
4432 ] | 4521 ] |
4433 }] | 4522 }] |
4434 } | 4523 } |
OLD | NEW |