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

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: Review changes 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 4437 matching lines...) Expand 10 before | Expand all | Expand 10 after
4448 "properties": [ 4448 "properties": [
4449 { "name": "startDelay", "type": "number", "description": "<c ode>AnimationNode</code>'s start delay." }, 4449 { "name": "startDelay", "type": "number", "description": "<c ode>AnimationNode</code>'s start delay." },
4450 { "name": "playbackRate", "type": "number", "description": " <code>AnimationNode</code>'s playbackRate." }, 4450 { "name": "playbackRate", "type": "number", "description": " <code>AnimationNode</code>'s playbackRate." },
4451 { "name": "iterationStart", "type": "number", "description": "<code>AnimationNode</code>'s iteration start." }, 4451 { "name": "iterationStart", "type": "number", "description": "<code>AnimationNode</code>'s iteration start." },
4452 { "name": "iterationCount", "type": "number", "description": "<code>AnimationNode</code>'s iteration count." }, 4452 { "name": "iterationCount", "type": "number", "description": "<code>AnimationNode</code>'s iteration count." },
4453 { "name": "duration", "type": "number", "description": "<cod e>AnimationNode</code>'s iteration duration." }, 4453 { "name": "duration", "type": "number", "description": "<cod e>AnimationNode</code>'s iteration duration." },
4454 { "name": "direction", "type": "number", "description": "<co de>AnimationNode</code>'s playback direction." }, 4454 { "name": "direction", "type": "number", "description": "<co de>AnimationNode</code>'s playback direction." },
4455 { "name": "fillMode", "type": "number", "description": "<cod e>AnimationNode</code>'s fill mode." }, 4455 { "name": "fillMode", "type": "number", "description": "<cod e>AnimationNode</code>'s fill mode." },
4456 { "name": "timeFraction", "type": "number", "description": " <code>AnimationNode</code>'s time fraction." }, 4456 { "name": "timeFraction", "type": "number", "description": " <code>AnimationNode</code>'s time fraction." },
4457 { "name": "name", "type": "string", "description": "<code>An imationNode</code>'s name." }, 4457 { "name": "name", "type": "string", "description": "<code>An imationNode</code>'s name." },
4458 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des cription": "<code>AnimationNode</code>'s target node." },
4458 { "name": "keyframesRule", "$ref": "KeyframesRule", "optiona l": true, "description": "<code>AnimationNode</code>'s keyframes." } 4459 { "name": "keyframesRule", "$ref": "KeyframesRule", "optiona l": true, "description": "<code>AnimationNode</code>'s keyframes." }
4459 ], 4460 ],
4460 "description": "AnimationNode instance" 4461 "description": "AnimationNode instance"
4461 }, 4462 },
4462 { 4463 {
4463 "id": "KeyframesRule", 4464 "id": "KeyframesRule",
4464 "type": "object", 4465 "type": "object",
4465 "properties": [ 4466 "properties": [
4466 { "name": "name", "type": "string", "optional": true, "descr iption": "CSS keyframed animation's name." }, 4467 { "name": "name", "type": "string", "optional": true, "descr iption": "CSS keyframed animation's name." },
4467 { "name": "keyframes", "type": "array", "items": { "$ref": " KeyframeStyle" }, "description": "List of animation keyframes." } 4468 { "name": "keyframes", "type": "array", "items": { "$ref": " KeyframeStyle" }, "description": "List of animation keyframes." }
4468 ], 4469 ],
4469 "description": "Keyframes Rule" 4470 "description": "Keyframes Rule"
4470 }, 4471 },
4471 { 4472 {
4472 "id": "KeyframeStyle", 4473 "id": "KeyframeStyle",
4473 "type": "object", 4474 "type": "object",
4474 "properties": [ 4475 "properties": [
4475 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, 4476 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." },
4476 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." } 4477 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }
4477 ], 4478 ],
4478 "description": "Keyframe Style" 4479 "description": "Keyframe Style"
4479 } 4480 }
4480 ], 4481 ],
4481 "commands": [ 4482 "commands": [
4482 { 4483 {
4483 "name": "getAnimationPlayersForNode", 4484 "name": "getAnimationPlayersForNode",
4484 "parameters": [ 4485 "parameters": [
4485 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." } 4486 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." },
4487 { "name": "includeSubtreeAnimations", "type": "boolean", "de scription": "Include animations from elements subtree." }
4486 ], 4488 ],
4487 "returns": [ 4489 "returns": [
4488 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." } 4490 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." }
4489 ], 4491 ],
4490 "description": "Returns animation players relevant to the node." , 4492 "description": "Returns animation players relevant to the node." ,
4491 "hidden": true 4493 "hidden": true
4492 }, 4494 },
4493 { 4495 {
4494 "name": "pauseAnimationPlayer", 4496 "name": "pauseAnimationPlayer",
4495 "parameters": [ 4497 "parameters": [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } 4536 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." }
4535 ], 4537 ],
4536 "description": "Gets the state of an AnimationPlayer.", 4538 "description": "Gets the state of an AnimationPlayer.",
4537 "hidden": true 4539 "hidden": true
4538 } 4540 }
4539 ], 4541 ],
4540 "events": [ 4542 "events": [
4541 ] 4543 ]
4542 }] 4544 }]
4543 } 4545 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698