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." }, |
| 2116 { "name": "finished", "type": "boolean", "description": "<co
de>AnimationPlayer</code>'s finished." }, |
| 2117 { "name": "playbackRate", "type": "number", "description": "
<code>AnimationPlayer</code>'s playbackRate." }, |
| 2118 { "name": "startTime", "type": "number", "description": "<co
de>AnimationPlayer</code>'s current time." }, |
| 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." } |
| 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 ], |
| 2138 "description": "AnimationNode instance" |
2108 } | 2139 } |
2109 ], | 2140 ], |
2110 "commands": [ | 2141 "commands": [ |
2111 { | 2142 { |
2112 "name": "enable", | 2143 "name": "enable", |
2113 "description": "Enables DOM agent for the given page." | 2144 "description": "Enables DOM agent for the given page." |
2114 }, | 2145 }, |
2115 { | 2146 { |
2116 "name": "disable", | 2147 "name": "disable", |
2117 "description": "Disables DOM agent for the given page." | 2148 "description": "Disables DOM agent for the given page." |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2461 { | 2492 { |
2462 "name": "getRelayoutBoundary", | 2493 "name": "getRelayoutBoundary", |
2463 "parameters": [ | 2494 "parameters": [ |
2464 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node." } | 2495 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node." } |
2465 ], | 2496 ], |
2466 "returns": [ | 2497 "returns": [ |
2467 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo
ut boundary node id for the given node." } | 2498 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo
ut boundary node id for the given node." } |
2468 ], | 2499 ], |
2469 "description": "Returns the id of the nearest ancestor that is a
relayout boundary.", | 2500 "description": "Returns the id of the nearest ancestor that is a
relayout boundary.", |
2470 "hidden": true | 2501 "hidden": true |
| 2502 }, |
| 2503 { |
| 2504 "name": "getAnimationPlayersForNode", |
| 2505 "parameters": [ |
| 2506 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get animation players for." } |
| 2507 ], |
| 2508 "returns": [ |
| 2509 { "name": "animationPlayers", "type": "array", "items": { "$
ref": "AnimationPlayer" }, "description": "Array of animation players." } |
| 2510 ], |
| 2511 "description": "Returns animation players relevant to the node."
, |
| 2512 "hidden": true |
| 2513 }, |
| 2514 { |
| 2515 "name": "pauseAnimationPlayer", |
| 2516 "parameters": [ |
| 2517 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 2518 ], |
| 2519 "returns": [ |
| 2520 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 2521 ], |
| 2522 "description": "Pauses animations relevant to the node.", |
| 2523 "hidden": true |
| 2524 }, |
| 2525 { |
| 2526 "name": "playAnimationPlayer", |
| 2527 "parameters": [ |
| 2528 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 2529 ], |
| 2530 "returns": [ |
| 2531 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 2532 ], |
| 2533 "description": "Plays animations relevant to the node.", |
| 2534 "hidden": true |
| 2535 }, |
| 2536 { |
| 2537 "name": "setAnimationPlayerCurrentTime", |
| 2538 "parameters": [ |
| 2539 { "name": "id", "type": "string", "description": "Id of the
animation player." }, |
| 2540 { "name": "currentTime", "type": "number", "description": "C
urrent time to set animation to"} |
| 2541 ], |
| 2542 "returns": [ |
| 2543 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 2544 ], |
| 2545 "description": "Sets the current time on given AnimationPlayer."
, |
| 2546 "hidden": true |
| 2547 }, |
| 2548 { |
| 2549 "name": "getAnimationPlayerState", |
| 2550 "parameters": [ |
| 2551 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 2552 ], |
| 2553 "returns": [ |
| 2554 { "name": "currentTime", "type": "number", "description": "C
urrent time of the animation player." }, |
| 2555 { "name": "isRunning", "type": "boolean", "description": "If
the animation player is still running." } |
| 2556 ], |
| 2557 "description": "Gets the state of an AnimationPlayer.", |
| 2558 "hidden": true |
2471 } | 2559 } |
2472 ], | 2560 ], |
2473 "events": [ | 2561 "events": [ |
2474 { | 2562 { |
2475 "name": "documentUpdated", | 2563 "name": "documentUpdated", |
2476 "description": "Fired when <code>Document</code> has been totall
y updated. Node ids are no longer valid." | 2564 "description": "Fired when <code>Document</code> has been totall
y updated. Node ids are no longer valid." |
2477 }, | 2565 }, |
2478 { | 2566 { |
2479 "name": "inspectNodeRequested", | 2567 "name": "inspectNodeRequested", |
2480 "parameters": [ | 2568 "parameters": [ |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2846 }, | 2934 }, |
2847 { | 2935 { |
2848 "name": "setStyleSheetText", | 2936 "name": "setStyleSheetText", |
2849 "parameters": [ | 2937 "parameters": [ |
2850 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 2938 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
2851 { "name": "text", "type": "string" } | 2939 { "name": "text", "type": "string" } |
2852 ], | 2940 ], |
2853 "description": "Sets the new stylesheet text." | 2941 "description": "Sets the new stylesheet text." |
2854 }, | 2942 }, |
2855 { | 2943 { |
| 2944 "name": "getKeyframeStylesForNode", |
| 2945 "parameters": [ |
| 2946 { "name": "id", "type": "string" } |
| 2947 ], |
| 2948 "returns": [ |
| 2949 { "name": "keyframeStyles", "type": "array", "items": { "$re
f": "CSSRule" }, "description": "Specified styles for animation keyframes." } |
| 2950 ], |
| 2951 "description": "Returns the animation keyframe styles for a give
n node." |
| 2952 }, |
| 2953 { |
2856 "name": "setPropertyText", | 2954 "name": "setPropertyText", |
2857 "parameters": [ | 2955 "parameters": [ |
2858 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 2956 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
2859 { "name": "range", "$ref": "SourceRange", "description": "Ei
ther a source range of the property to be edited or an empty range representing
a position for the property insertion." }, | 2957 { "name": "range", "$ref": "SourceRange", "description": "Ei
ther a source range of the property to be edited or an empty range representing
a position for the property insertion." }, |
2860 { "name": "text", "type": "string" } | 2958 { "name": "text", "type": "string" } |
2861 ], | 2959 ], |
2862 "returns": [ | 2960 "returns": [ |
2863 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the property text modification." } | 2961 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the property text modification." } |
2864 ], | 2962 ], |
2865 "description": "Either replaces a property identified by <code>s
tyleSheetId</code> and <code>range</code> with <code>text</code> or inserts a ne
w property <code>text</code> at the position identified by an empty <code>range<
/code>." | 2963 "description": "Either replaces a property identified by <code>s
tyleSheetId</code> and <code>range</code> with <code>text</code> or inserts a ne
w property <code>text</code> at the position identified by an empty <code>range<
/code>." |
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4419 { | 4517 { |
4420 "name": "dataAvailable", | 4518 "name": "dataAvailable", |
4421 "parameters": [ | 4519 "parameters": [ |
4422 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4520 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4423 ], | 4521 ], |
4424 "handlers": ["browser", "frontend"] | 4522 "handlers": ["browser", "frontend"] |
4425 } | 4523 } |
4426 ] | 4524 ] |
4427 }] | 4525 }] |
4428 } | 4526 } |
OLD | NEW |