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

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 vsevik 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 371cd7906ebe7250d1d4a931799103e5aa94d0a1..d1a69213ebccc1f0b42d126dda09e0b5a409db01 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -2644,7 +2644,17 @@
{ "name": "styleSheetId", "$ref": "StyleSheetId" },
{ "name": "text", "type": "string" }
],
- "description": "Sets the new stylesheet text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet."
+ "description": "Sets the new stylesheet text. This will invalidate 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. This will invalidate all existing <code>CSSStyleId</code>s and <code>CSSRuleId</code>s contained by this stylesheet.",
+ "hidden": true
vsevik 2014/02/25 11:20:48 We do not mark CSS domain methods as hidden (the w
lushnikov 2014/02/25 11:32:00 Done.
},
{
"name": "setPropertyText",

Powered by Google App Engine
This is Rietveld 408576698