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

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, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3103 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 }, 3114 },
3115 { 3115 {
3116 "id": "PlatformFontUsage", 3116 "id": "PlatformFontUsage",
3117 "type": "object", 3117 "type": "object",
3118 "properties": [ 3118 "properties": [
3119 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."}, 3119 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."},
3120 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."} 3120 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."}
3121 ], 3121 ],
3122 "description": "Information about amount of glyphs that were ren dered with given font.", 3122 "description": "Information about amount of glyphs that were ren dered with given font.",
3123 "hidden": true 3123 "hidden": true
3124 },
3125 {
3126 "id": "CSSKeyframesRule",
3127 "type": "object",
3128 "properties": [
3129 { "name": "animationName", "type": "string", "description": "Animation name." },
3130 { "name": "keyframes", "type": "array", "items": { "$ref": " CSSKeyframeRule" }, "description": "List of keyframes." }
3131 ],
3132 "description": "CSS keyframes rule representation."
3133 },
3134 {
3135 "id": "CSSKeyframeRule",
3136 "type": "object",
3137 "properties": [
3138 { "name": "keyText", "type": "string", "description": "Assoc iated key text." },
3139 { "name": "style", "$ref": "CSSStyle", "description": "Assoc iated style declaration." }
3140 ],
3141 "description": "CSS keyframe rule representation."
3124 } 3142 }
3125 ], 3143 ],
3126 "commands": [ 3144 "commands": [
3127 { 3145 {
3128 "name": "enable", 3146 "name": "enable",
3129 "async": true, 3147 "async": true,
3130 "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." 3148 "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."
3131 }, 3149 },
3132 { 3150 {
3133 "name": "disable", 3151 "name": "disable",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
3173 "parameters": [ 3191 "parameters": [
3174 { "name": "nodeId", "$ref": "DOM.NodeId" } 3192 { "name": "nodeId", "$ref": "DOM.NodeId" }
3175 ], 3193 ],
3176 "returns": [ 3194 "returns": [
3177 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." } 3195 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." }
3178 ], 3196 ],
3179 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", 3197 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
3180 "hidden": true 3198 "hidden": true
3181 }, 3199 },
3182 { 3200 {
3201 "name": "getCSSAnimationsForNode",
3202 "parameters": [
3203 { "name": "nodeId", "$ref": "DOM.NodeId" }
3204 ],
3205 "returns": [
3206 { "name": "cssKeyframesRules", "type": "array", "items": { " $ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS key framed animations matching this node." }
3207 ],
3208 "description": "Returns all CSS keyframed animations mtaching th is node."
3209 },
3210 {
3183 "name": "getStyleSheetText", 3211 "name": "getStyleSheetText",
3184 "parameters": [ 3212 "parameters": [
3185 { "name": "styleSheetId", "$ref": "StyleSheetId" } 3213 { "name": "styleSheetId", "$ref": "StyleSheetId" }
3186 ], 3214 ],
3187 "returns": [ 3215 "returns": [
3188 { "name": "text", "type": "string", "description": "The styl esheet text." } 3216 { "name": "text", "type": "string", "description": "The styl esheet text." }
3189 ], 3217 ],
3190 "description": "Returns the current textual content and the URL for a stylesheet." 3218 "description": "Returns the current textual content and the URL for a stylesheet."
3191 }, 3219 },
3192 { 3220 {
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after
5259 ], 5287 ],
5260 "returns": [ 5288 "returns": [
5261 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5289 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5262 ], 5290 ],
5263 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5291 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5264 "hidden": true 5292 "hidden": true
5265 } 5293 }
5266 ] 5294 ]
5267 }] 5295 }]
5268 } 5296 }
OLDNEW
« 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