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

Side by Side 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 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 3096 matching lines...) Expand 10 before | Expand all | Expand 10 after
3107 }, 3107 },
3108 { 3108 {
3109 "id": "PlatformFontUsage", 3109 "id": "PlatformFontUsage",
3110 "type": "object", 3110 "type": "object",
3111 "properties": [ 3111 "properties": [
3112 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."}, 3112 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."},
3113 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."} 3113 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."}
3114 ], 3114 ],
3115 "description": "Information about amount of glyphs that were ren dered with given font.", 3115 "description": "Information about amount of glyphs that were ren dered with given font.",
3116 "hidden": true 3116 "hidden": true
3117 },
3118 {
3119 "id": "CSSKeyframesRule",
3120 "type": "object",
3121 "properties": [
3122 { "name": "animationName", "type": "string", "description": "Animation name." },
3123 { "name": "keyframes", "type": "array", "items": { "$ref": " CSSKeyframeRule" }, "description": "List of keyframes." }
3124 ],
3125 "description": "CSS keyframes rule representation."
3126 },
3127 {
3128 "id": "CSSKeyframeRule",
3129 "type": "object",
3130 "properties": [
3131 { "name": "keyText", "type": "string", "description": "Assoc iated key text." },
3132 { "name": "style", "$ref": "CSSStyle", "description": "Assoc iated style declaration." }
3133 ],
3134 "description": "CSS keyframe rule representation."
3117 } 3135 }
3118 ], 3136 ],
3119 "commands": [ 3137 "commands": [
3120 { 3138 {
3121 "name": "enable", 3139 "name": "enable",
3122 "async": true, 3140 "async": true,
3123 "description": "Enables the CSS agent for the given page. Client s should not assume that the CSS agent has been enabled until the result of this command is received." 3141 "description": "Enables the CSS agent for the given page. Client s should not assume that the CSS agent has been enabled until the result of this command is received."
3124 }, 3142 },
3125 { 3143 {
3126 "name": "disable", 3144 "name": "disable",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
3166 "parameters": [ 3184 "parameters": [
3167 { "name": "nodeId", "$ref": "DOM.NodeId" } 3185 { "name": "nodeId", "$ref": "DOM.NodeId" }
3168 ], 3186 ],
3169 "returns": [ 3187 "returns": [
3170 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." } 3188 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." }
3171 ], 3189 ],
3172 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", 3190 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
3173 "hidden": true 3191 "hidden": true
3174 }, 3192 },
3175 { 3193 {
3194 "name": "getCSSAnimationsForNode",
3195 "parameters": [
3196 { "name": "nodeId", "$ref": "DOM.NodeId" }
3197 ],
3198 "returns": [
3199 { "name": "cssKeyframesRules", "type": "array", "items": { " $ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS key framed animations matching this node." }
3200 ],
3201 "description": "Returns all CSS keyframed animations mtaching th is node."
3202 },
3203 {
3176 "name": "getStyleSheetText", 3204 "name": "getStyleSheetText",
3177 "parameters": [ 3205 "parameters": [
3178 { "name": "styleSheetId", "$ref": "StyleSheetId" } 3206 { "name": "styleSheetId", "$ref": "StyleSheetId" }
3179 ], 3207 ],
3180 "returns": [ 3208 "returns": [
3181 { "name": "text", "type": "string", "description": "The styl esheet text." } 3209 { "name": "text", "type": "string", "description": "The styl esheet text." }
3182 ], 3210 ],
3183 "description": "Returns the current textual content and the URL for a stylesheet." 3211 "description": "Returns the current textual content and the URL for a stylesheet."
3184 }, 3212 },
3185 { 3213 {
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after
5292 ], 5320 ],
5293 "returns": [ 5321 "returns": [
5294 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5322 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5295 ], 5323 ],
5296 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5324 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5297 "hidden": true 5325 "hidden": true
5298 } 5326 }
5299 ] 5327 ]
5300 }] 5328 }]
5301 } 5329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698