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

Side by Side Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1577723002: Devtools: Add editable keyframes to the styles sidebar pane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after
3120 "properties": [ 3120 "properties": [
3121 { "name": "animationName", "$ref": "Value", "description": " Animation name." }, 3121 { "name": "animationName", "$ref": "Value", "description": " Animation name." },
3122 { "name": "keyframes", "type": "array", "items": { "$ref": " CSSKeyframeRule" }, "description": "List of keyframes." } 3122 { "name": "keyframes", "type": "array", "items": { "$ref": " CSSKeyframeRule" }, "description": "List of keyframes." }
3123 ], 3123 ],
3124 "description": "CSS keyframes rule representation." 3124 "description": "CSS keyframes rule representation."
3125 }, 3125 },
3126 { 3126 {
3127 "id": "CSSKeyframeRule", 3127 "id": "CSSKeyframeRule",
3128 "type": "object", 3128 "type": "object",
3129 "properties": [ 3129 "properties": [
3130 { "name": "styleSheetId", "$ref": "StyleSheetId", "optional" : true, "description": "The css style sheet identifier (absent for user agent st ylesheet and user-specified stylesheet rules) this rule came from." },
3131 { "name": "origin", "$ref": "StyleSheetOrigin", "description ": "Parent stylesheet's origin."},
pfeldman 2016/01/13 00:08:19 I'd rather remove "origin" from CSSRule and not ad
samli 2016/01/13 00:53:37 Protocol says that the optional StyleSheetId for C
3130 { "name": "keyText", "$ref": "Value", "description": "Associ ated key text." }, 3132 { "name": "keyText", "$ref": "Value", "description": "Associ ated key text." },
3131 { "name": "style", "$ref": "CSSStyle", "description": "Assoc iated style declaration." } 3133 { "name": "style", "$ref": "CSSStyle", "description": "Assoc iated style declaration." }
3132 ], 3134 ],
3133 "description": "CSS keyframe rule representation." 3135 "description": "CSS keyframe rule representation."
3134 } 3136 }
3135 ], 3137 ],
3136 "commands": [ 3138 "commands": [
3137 { 3139 {
3138 "name": "enable", 3140 "name": "enable",
3139 "async": true, 3141 "async": true,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
3226 { "name": "styleSheetId", "$ref": "StyleSheetId" }, 3228 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3227 { "name": "range", "$ref": "SourceRange" }, 3229 { "name": "range", "$ref": "SourceRange" },
3228 { "name": "selector", "type": "string" } 3230 { "name": "selector", "type": "string" }
3229 ], 3231 ],
3230 "returns": [ 3232 "returns": [
3231 { "name": "selectorList", "$ref": "SelectorList", "descripti on": "The resulting selector list after modification." } 3233 { "name": "selectorList", "$ref": "SelectorList", "descripti on": "The resulting selector list after modification." }
3232 ], 3234 ],
3233 "description": "Modifies the rule selector." 3235 "description": "Modifies the rule selector."
3234 }, 3236 },
3235 { 3237 {
3238 "name": "setKeyframeKey",
3239 "parameters": [
3240 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3241 { "name": "range", "$ref": "SourceRange" },
3242 { "name": "keyText", "type": "string" }
3243 ],
3244 "returns": [
3245 { "name": "keyText", "$ref": "Value", "description": "The re sulting key text after modification." }
3246 ],
3247 "description": "Modifies the keyframe rule key text."
3248 },
3249 {
3236 "name": "setStyleText", 3250 "name": "setStyleText",
3237 "parameters": [ 3251 "parameters": [
3238 { "name": "styleSheetId", "$ref": "StyleSheetId" }, 3252 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3239 { "name": "range", "$ref": "SourceRange" }, 3253 { "name": "range", "$ref": "SourceRange" },
3240 { "name": "text", "type": "string" } 3254 { "name": "text", "type": "string" }
3241 ], 3255 ],
3242 "returns": [ 3256 "returns": [
3243 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the selector modification." } 3257 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the selector modification." }
3244 ], 3258 ],
3245 "description": "Modifies the style text." 3259 "description": "Modifies the style text."
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
5308 ], 5322 ],
5309 "returns": [ 5323 "returns": [
5310 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5324 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5311 ], 5325 ],
5312 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5326 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5313 "hidden": true 5327 "hidden": true
5314 } 5328 }
5315 ] 5329 ]
5316 }] 5330 }]
5317 } 5331 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698