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

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1371723002: Devtools Animations: Add method to fetch CSS keyframed animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index 5e74d4f73a286624a14e31eb1385c30323f3c138..15b68f23ff04334a8450f0a9abe2021f63b8a279 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -3098,6 +3098,24 @@
],
"description": "Information about amount of glyphs that were rendered with given font.",
"hidden": true
+ },
+ {
+ "id": "CSSKeyframesRule",
+ "type": "object",
+ "properties": [
+ { "name": "name", "type": "string", "description": "Animation name." },
lushnikov 2015/10/06 23:01:34 nit: "name" -> "animationName"
samli 2015/10/08 17:37:31 Done.
+ { "name": "keyframes", "type": "array", "items": { "$ref": "CSSKeyframeRule" }, "description": "List of keyframes." }
+ ],
+ "description": "CSS keyframes rule representation."
+ },
+ {
+ "id": "CSSKeyframeRule",
+ "type": "object",
+ "properties": [
+ { "name": "keyText", "type": "string", "description": "Associated key text." },
+ { "name": "style", "$ref": "CSSStyle", "description": "Associated style declaration." }
+ ],
+ "description": "CSS keyframe rule representation."
}
],
"commands": [
@@ -3157,6 +3175,16 @@
"hidden": true
},
{
+ "name": "getCSSAnimationsForNode",
+ "parameters": [
+ { "name": "nodeId", "$ref": "DOM.NodeId" }
+ ],
+ "returns": [
+ { "name": "cssKeyframesRules", "type": "array", "items": { "$ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS keyframed animations matching this node." }
+ ],
+ "description": "Returns all CSS keyframed animations mtaching this node."
+ },
+ {
"name": "getStyleSheetText",
"parameters": [
{ "name": "styleSheetId", "$ref": "StyleSheetId" }

Powered by Google App Engine
This is Rietveld 408576698