Chromium Code Reviews| Index: Source/devtools/protocol.json |
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
| index ff591086e30798234c392b9e92fbe7e00ad16ecf..47e80aab743c16215cffbc67a738117fba9dd020 100644 |
| --- a/Source/devtools/protocol.json |
| +++ b/Source/devtools/protocol.json |
| @@ -2644,6 +2644,16 @@ |
| "description": "Sets the new stylesheet text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet." |
| }, |
| { |
| + "name": "replaceRangeInStyleSheetText", |
| + "parameters": [ |
| + { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| + { "name": "range", "$ref": "SourceRange", "description": "Source range to be replaced in style sheet text." }, |
|
apavlov
2014/02/20 09:58:14
"stylesheet" for consistency with the rest of pros
lushnikov
2014/02/20 14:17:04
Done.
|
| + { "name": "text", "type": "string", "description": "Text that will replace given range in the style sheet text." } |
|
apavlov
2014/02/20 09:58:14
ditto
lushnikov
2014/02/20 14:17:04
Done.
|
| + ], |
| + "description": "Replace some range of stylesheet with a new text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet.", |
|
apavlov
2014/02/20 09:58:14
Replace stylesheet text range with new text...
lushnikov
2014/02/20 14:17:04
Done.
|
| + "hidden": true |
| + }, |
| + { |
| "name": "setPropertyText", |
| "parameters": [ |
| { "name": "styleId", "$ref": "CSSStyleId" }, |