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

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 all 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
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/wtf/text/TextPosition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 05050620c5e7d8a741a6e5f94a99852ae7d11ce3..261a27dbb59abff6966d3d288cb6dfbc8a2dec97 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -2647,6 +2647,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.",
vsevik 2014/02/25 10:42:42 Replace stylesheet text range with a new text. Thi
lushnikov 2014/02/25 11:05:44 Done.
+ "hidden": true
+ },
+ {
"name": "setPropertyText",
"parameters": [
{ "name": "styleId", "$ref": "CSSStyleId" },
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/wtf/text/TextPosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698