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

Unified Diff: Source/devtools/protocol.json

Issue 172593003: DevTools: [CSS] Add CSS.editRangeInStyleSheetText() to the protocol (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address @apavlov & @pfeldman comments Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index ff591086e30798234c392b9e92fbe7e00ad16ecf..f42c464ba6142e13be904992831137b62dbc97a7 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": "editRangeInStyleSheetText",
+ "parameters": [
+ { "name": "styleSheetId", "$ref": "StyleSheetId" },
+ { "name": "range", "$ref": "SourceRange", "description": "Source range to be replaced in stylesheet text." },
+ { "name": "text", "type": "string", "description": "Text that will replace given range in the stylesheet text." }
+ ],
+ "description": "Replace stylesheet text range with a new text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet.",
+ "hidden": true
+ },
+ {
"name": "setPropertyText",
"parameters": [
{ "name": "styleId", "$ref": "CSSStyleId" },

Powered by Google App Engine
This is Rietveld 408576698