Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/protocol.json |
| diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json |
| index d14c5d8b3ff83fbaf556f2e37d61f0ecbc6b8452..7f1894b4201786bb47a8845aed8cd94de426ab52 100644 |
| --- a/third_party/WebKit/Source/devtools/protocol.json |
| +++ b/third_party/WebKit/Source/devtools/protocol.json |
| @@ -3286,11 +3286,23 @@ |
| { "name": "text", "type": "string" } |
| ], |
| "returns": [ |
| - { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the selector modification." } |
| + { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after modification." } |
| ], |
| "description": "Modifies the style text." |
| }, |
| { |
| + "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.
|
| + "parameters": [ |
| + { "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.
|
| + { "name": "ranges", "type": "array", "items": { "$ref": "SourceRange" }}, |
| + { "name": "texts", "type": "array", "items": { "type": "string" }} |
| + ], |
| + "returns": [ |
| + { "name": "styles", "type": "array", "items": { "$ref": "CSSStyle" }, "description": "The resulting styles after modification." } |
| + ], |
| + "description": "Modifies multiple styles." |
| + }, |
| + { |
| "name": "setMediaText", |
| "parameters": [ |
| { "name": "styleSheetId", "$ref": "StyleSheetId" }, |