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

Unified Diff: Source/devtools/protocol.json

Issue 664993002: Devtools Animations: Display keyframes for CSS Animations in inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 83fc38f07d5e2d61e8f4751260cc31b6a415654a..587ff567f7056acf99dd5375209a926dae58d3d7 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4444,9 +4444,30 @@
{ "name": "direction", "type": "number", "description": "<code>AnimationNode</code>'s playback direction." },
{ "name": "fillMode", "type": "number", "description": "<code>AnimationNode</code>'s fill mode." },
{ "name": "timeFraction", "type": "number", "description": "<code>AnimationNode</code>'s time fraction." },
- { "name": "name", "type": "string", "description": "<code>AnimationNode</code> name."}
+ { "name": "name", "type": "string", "description": "<code>AnimationNode</code>'s name." },
+ { "name": "keyframesRule", "$ref": "KeyframesRule", "optional": "true", "description": "<code>AnimationNode</code>'s keyframes." }
],
"description": "AnimationNode instance"
+ },
+ {
+ "id": "KeyframesRule",
+ "type": "object",
+ "hidden": "true",
pfeldman 2014/10/23 06:37:00 No need to hide entities within hidden domain.
samli 2014/10/24 05:06:19 Done.
+ "properties": [
+ { "name": "name", "type": "string", "optional": "true", "description": "CSS keyframed animation's name." },
pfeldman 2014/10/23 06:37:00 true is a boolean, not string.
samli 2014/10/24 05:06:19 Done.
+ { "name": "keyframes", "type": "array", "items": { "$ref": "KeyframeStyle" }, "description": "List of animation keyframes." }
+ ],
+ "description": "Keyframes Rule"
+ },
+ {
+ "id": "KeyframeStyle",
+ "type": "object",
+ "hidden": "true",
pfeldman 2014/10/23 06:37:00 ditto - no need and a boolean.
samli 2014/10/24 05:06:19 Done.
+ "properties": [
+ { "name": "offset", "type": "string", "description": "Keyframe's time offset." },
+ { "name": "style", "$ref": "CSS.CSSStyle", "description": "Keyframe's associated CSS style declaration." }
+ ],
+ "description": "Keyframe Style"
}
],
"commands": [

Powered by Google App Engine
This is Rietveld 408576698