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

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: Review changes 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
« no previous file with comments | « Source/devtools/front_end/sdk/AnimationModel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 83fc38f07d5e2d61e8f4751260cc31b6a415654a..05e569cee878664cc09db658909be88622579611 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4444,9 +4444,28 @@
{ "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",
+ "properties": [
+ { "name": "name", "type": "string", "optional": true, "description": "CSS keyframed animation's name." },
+ { "name": "keyframes", "type": "array", "items": { "$ref": "KeyframeStyle" }, "description": "List of animation keyframes." }
+ ],
+ "description": "Keyframes Rule"
+ },
+ {
+ "id": "KeyframeStyle",
+ "type": "object",
+ "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": [
« no previous file with comments | « Source/devtools/front_end/sdk/AnimationModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698