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

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 3080 matching lines...) Expand 10 before | Expand all | Expand 10 after
3091 }, 3091 },
3092 { 3092 {
3093 "id": "PlatformFontUsage", 3093 "id": "PlatformFontUsage",
3094 "type": "object", 3094 "type": "object",
3095 "properties": [ 3095 "properties": [
3096 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."}, 3096 { "name": "familyName", "type": "string", "description": "Fo nt's family name reported by platform."},
3097 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."} 3097 { "name": "glyphCount", "type": "number", "description": "Am ount of glyphs that were rendered with this font."}
3098 ], 3098 ],
3099 "description": "Information about amount of glyphs that were ren dered with given font.", 3099 "description": "Information about amount of glyphs that were ren dered with given font.",
3100 "hidden": true 3100 "hidden": true
3101 },
3102 {
3103 "id": "CSSKeyframesRule",
3104 "type": "object",
3105 "properties": [
3106 { "name": "name", "type": "string", "description": "Animatio n name." },
lushnikov 2015/10/06 23:01:34 nit: "name" -> "animationName"
samli 2015/10/08 17:37:31 Done.
3107 { "name": "keyframes", "type": "array", "items": { "$ref": " CSSKeyframeRule" }, "description": "List of keyframes." }
3108 ],
3109 "description": "CSS keyframes rule representation."
3110 },
3111 {
3112 "id": "CSSKeyframeRule",
3113 "type": "object",
3114 "properties": [
3115 { "name": "keyText", "type": "string", "description": "Assoc iated key text." },
3116 { "name": "style", "$ref": "CSSStyle", "description": "Assoc iated style declaration." }
3117 ],
3118 "description": "CSS keyframe rule representation."
3101 } 3119 }
3102 ], 3120 ],
3103 "commands": [ 3121 "commands": [
3104 { 3122 {
3105 "name": "enable", 3123 "name": "enable",
3106 "async": true, 3124 "async": true,
3107 "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." 3125 "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."
3108 }, 3126 },
3109 { 3127 {
3110 "name": "disable", 3128 "name": "disable",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
3150 "parameters": [ 3168 "parameters": [
3151 { "name": "nodeId", "$ref": "DOM.NodeId" } 3169 { "name": "nodeId", "$ref": "DOM.NodeId" }
3152 ], 3170 ],
3153 "returns": [ 3171 "returns": [
3154 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." } 3172 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." }
3155 ], 3173 ],
3156 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", 3174 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
3157 "hidden": true 3175 "hidden": true
3158 }, 3176 },
3159 { 3177 {
3178 "name": "getCSSAnimationsForNode",
3179 "parameters": [
3180 { "name": "nodeId", "$ref": "DOM.NodeId" }
3181 ],
3182 "returns": [
3183 { "name": "cssKeyframesRules", "type": "array", "items": { " $ref": "CSSKeyframesRule" }, "optional": true, "description": "A list of CSS key framed animations matching this node." }
3184 ],
3185 "description": "Returns all CSS keyframed animations mtaching th is node."
3186 },
3187 {
3160 "name": "getStyleSheetText", 3188 "name": "getStyleSheetText",
3161 "parameters": [ 3189 "parameters": [
3162 { "name": "styleSheetId", "$ref": "StyleSheetId" } 3190 { "name": "styleSheetId", "$ref": "StyleSheetId" }
3163 ], 3191 ],
3164 "returns": [ 3192 "returns": [
3165 { "name": "text", "type": "string", "description": "The styl esheet text." } 3193 { "name": "text", "type": "string", "description": "The styl esheet text." }
3166 ], 3194 ],
3167 "description": "Returns the current textual content and the URL for a stylesheet." 3195 "description": "Returns the current textual content and the URL for a stylesheet."
3168 }, 3196 },
3169 { 3197 {
(...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after
5256 ], 5284 ],
5257 "returns": [ 5285 "returns": [
5258 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5286 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5259 ], 5287 ],
5260 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5288 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5261 "hidden": true 5289 "hidden": true
5262 } 5290 }
5263 ] 5291 ]
5264 }] 5292 }]
5265 } 5293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698