Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 3268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3279 "description": "Modifies the keyframe rule key text." | 3279 "description": "Modifies the keyframe rule key text." |
| 3280 }, | 3280 }, |
| 3281 { | 3281 { |
| 3282 "name": "setStyleText", | 3282 "name": "setStyleText", |
| 3283 "parameters": [ | 3283 "parameters": [ |
| 3284 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3284 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 3285 { "name": "range", "$ref": "SourceRange" }, | 3285 { "name": "range", "$ref": "SourceRange" }, |
| 3286 { "name": "text", "type": "string" } | 3286 { "name": "text", "type": "string" } |
| 3287 ], | 3287 ], |
| 3288 "returns": [ | 3288 "returns": [ |
| 3289 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the selector modification." } | 3289 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after modification." } |
| 3290 ], | 3290 ], |
| 3291 "description": "Modifies the style text." | 3291 "description": "Modifies the style text." |
| 3292 }, | 3292 }, |
| 3293 { | 3293 { |
| 3294 "name": "setMultipleStyleTexts", | |
|
dgozman
2016/02/16 18:14:05
Let's replace setStyleText with this one. No need
lushnikov
2016/02/17 20:26:50
Done.
| |
| 3295 "parameters": [ | |
| 3296 { "name": "styleSheetIds", "type": "array", "items": { "$ref ": "StyleSheetId" }}, | |
|
dgozman
2016/02/16 18:14:05
I think array of objects is a better way than thre
lushnikov
2016/02/17 20:26:49
Done.
| |
| 3297 { "name": "ranges", "type": "array", "items": { "$ref": "Sou rceRange" }}, | |
| 3298 { "name": "texts", "type": "array", "items": { "type": "stri ng" }} | |
| 3299 ], | |
| 3300 "returns": [ | |
| 3301 { "name": "styles", "type": "array", "items": { "$ref": "CSS Style" }, "description": "The resulting styles after modification." } | |
| 3302 ], | |
| 3303 "description": "Modifies multiple styles." | |
| 3304 }, | |
| 3305 { | |
| 3294 "name": "setMediaText", | 3306 "name": "setMediaText", |
| 3295 "parameters": [ | 3307 "parameters": [ |
| 3296 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3308 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 3297 { "name": "range", "$ref": "SourceRange" }, | 3309 { "name": "range", "$ref": "SourceRange" }, |
| 3298 { "name": "text", "type": "string" } | 3310 { "name": "text", "type": "string" } |
| 3299 ], | 3311 ], |
| 3300 "returns": [ | 3312 "returns": [ |
| 3301 { "name": "media", "$ref": "CSSMedia", "description": "The r esulting CSS media rule after modification." } | 3313 { "name": "media", "$ref": "CSSMedia", "description": "The r esulting CSS media rule after modification." } |
| 3302 ], | 3314 ], |
| 3303 "description": "Modifies the rule selector." | 3315 "description": "Modifies the rule selector." |
| (...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5266 ], | 5278 ], |
| 5267 "returns": [ | 5279 "returns": [ |
| 5268 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5280 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5269 ], | 5281 ], |
| 5270 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5282 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5271 "hidden": true | 5283 "hidden": true |
| 5272 } | 5284 } |
| 5273 ] | 5285 ] |
| 5274 }] | 5286 }] |
| 5275 } | 5287 } |
| OLD | NEW |