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

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, 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 | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dff962f735be7ce36eb2cf70bcfebc28ee4bdf82..c41debf7c30fa8585daffcfb5e634fa598ed4296 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -3121,6 +3121,24 @@
],
"description": "Information about amount of glyphs that were rendered with given font.",
"hidden": true
+ },
+ {
+ "id": "CSSKeyframesRule",
+ "type": "object",
+ "properties": [
+ { "name": "animationName", "type": "string", "description": "Animation name." },
+ { "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": [
@@ -3180,6 +3198,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" }
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698