Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Side by Side Diff: Source/devtools/protocol.json

Issue 682423002: Devtools Animations: Show subtree animations for a given node (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Collapse animation sections if there are a lot Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 4435 matching lines...) Expand 10 before | Expand all | Expand 10 after
4446 "properties": [ 4446 "properties": [
4447 { "name": "startDelay", "type": "number", "description": "<c ode>AnimationNode</code>'s start delay." }, 4447 { "name": "startDelay", "type": "number", "description": "<c ode>AnimationNode</code>'s start delay." },
4448 { "name": "playbackRate", "type": "number", "description": " <code>AnimationNode</code>'s playbackRate." }, 4448 { "name": "playbackRate", "type": "number", "description": " <code>AnimationNode</code>'s playbackRate." },
4449 { "name": "iterationStart", "type": "number", "description": "<code>AnimationNode</code>'s iteration start." }, 4449 { "name": "iterationStart", "type": "number", "description": "<code>AnimationNode</code>'s iteration start." },
4450 { "name": "iterationCount", "type": "number", "description": "<code>AnimationNode</code>'s iteration count." }, 4450 { "name": "iterationCount", "type": "number", "description": "<code>AnimationNode</code>'s iteration count." },
4451 { "name": "duration", "type": "number", "description": "<cod e>AnimationNode</code>'s iteration duration." }, 4451 { "name": "duration", "type": "number", "description": "<cod e>AnimationNode</code>'s iteration duration." },
4452 { "name": "direction", "type": "number", "description": "<co de>AnimationNode</code>'s playback direction." }, 4452 { "name": "direction", "type": "number", "description": "<co de>AnimationNode</code>'s playback direction." },
4453 { "name": "fillMode", "type": "number", "description": "<cod e>AnimationNode</code>'s fill mode." }, 4453 { "name": "fillMode", "type": "number", "description": "<cod e>AnimationNode</code>'s fill mode." },
4454 { "name": "timeFraction", "type": "number", "description": " <code>AnimationNode</code>'s time fraction." }, 4454 { "name": "timeFraction", "type": "number", "description": " <code>AnimationNode</code>'s time fraction." },
4455 { "name": "name", "type": "string", "description": "<code>An imationNode</code>'s name." }, 4455 { "name": "name", "type": "string", "description": "<code>An imationNode</code>'s name." },
4456 { "name": "node", "$ref": "DOM.NodeId", "description": "<cod e>AnimationNode</code>'s target node." },
4456 { "name": "keyframesRule", "$ref": "KeyframesRule", "optiona l": true, "description": "<code>AnimationNode</code>'s keyframes." } 4457 { "name": "keyframesRule", "$ref": "KeyframesRule", "optiona l": true, "description": "<code>AnimationNode</code>'s keyframes." }
4457 ], 4458 ],
4458 "description": "AnimationNode instance" 4459 "description": "AnimationNode instance"
4459 }, 4460 },
4460 { 4461 {
4461 "id": "KeyframesRule", 4462 "id": "KeyframesRule",
4462 "type": "object", 4463 "type": "object",
4463 "properties": [ 4464 "properties": [
4464 { "name": "name", "type": "string", "optional": true, "descr iption": "CSS keyframed animation's name." }, 4465 { "name": "name", "type": "string", "optional": true, "descr iption": "CSS keyframed animation's name." },
4465 { "name": "keyframes", "type": "array", "items": { "$ref": " KeyframeStyle" }, "description": "List of animation keyframes." } 4466 { "name": "keyframes", "type": "array", "items": { "$ref": " KeyframeStyle" }, "description": "List of animation keyframes." }
4466 ], 4467 ],
4467 "description": "Keyframes Rule" 4468 "description": "Keyframes Rule"
4468 }, 4469 },
4469 { 4470 {
4470 "id": "KeyframeStyle", 4471 "id": "KeyframeStyle",
4471 "type": "object", 4472 "type": "object",
4472 "properties": [ 4473 "properties": [
4473 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, 4474 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." },
4474 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." } 4475 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }
4475 ], 4476 ],
4476 "description": "Keyframe Style" 4477 "description": "Keyframe Style"
4477 } 4478 }
4478 ], 4479 ],
4479 "commands": [ 4480 "commands": [
4480 { 4481 {
4481 "name": "getAnimationPlayersForNode", 4482 "name": "getAnimationPlayersForNode",
4482 "parameters": [ 4483 "parameters": [
4483 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." } 4484 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." },
4485 { "name": "includeSubtreeAnimations", "type": "boolean", "de scription": "Include subtree animations." }
4484 ], 4486 ],
4485 "returns": [ 4487 "returns": [
4486 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." } 4488 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." }
4487 ], 4489 ],
4488 "description": "Returns animation players relevant to the node." , 4490 "description": "Returns animation players relevant to the node." ,
4489 "hidden": true 4491 "hidden": true
4490 }, 4492 },
4491 { 4493 {
4492 "name": "pauseAnimationPlayer", 4494 "name": "pauseAnimationPlayer",
4493 "parameters": [ 4495 "parameters": [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4532 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } 4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." }
4533 ], 4535 ],
4534 "description": "Gets the state of an AnimationPlayer.", 4536 "description": "Gets the state of an AnimationPlayer.",
4535 "hidden": true 4537 "hidden": true
4536 } 4538 }
4537 ], 4539 ],
4538 "events": [ 4540 "events": [
4539 ] 4541 ]
4540 }] 4542 }]
4541 } 4543 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698