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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after
2637 }, 2637 },
2638 { 2638 {
2639 "name": "setStyleSheetText", 2639 "name": "setStyleSheetText",
2640 "parameters": [ 2640 "parameters": [
2641 { "name": "styleSheetId", "$ref": "StyleSheetId" }, 2641 { "name": "styleSheetId", "$ref": "StyleSheetId" },
2642 { "name": "text", "type": "string" } 2642 { "name": "text", "type": "string" }
2643 ], 2643 ],
2644 "description": "Sets the new stylesheet text, thereby invalidati ng all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet." 2644 "description": "Sets the new stylesheet text, thereby invalidati ng all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet."
2645 }, 2645 },
2646 { 2646 {
2647 "name": "editRangeInStyleSheetText",
2648 "parameters": [
2649 { "name": "styleSheetId", "$ref": "StyleSheetId" },
2650 { "name": "range", "$ref": "SourceRange", "description": "So urce range to be replaced in stylesheet text." },
2651 { "name": "text", "type": "string", "description": "Text tha t will replace given range in the stylesheet text." }
2652 ],
2653 "description": "Replace stylesheet text range with a new text, t hereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</ code>'s contained by this stylesheet.",
2654 "hidden": true
2655 },
2656 {
2647 "name": "setPropertyText", 2657 "name": "setPropertyText",
2648 "parameters": [ 2658 "parameters": [
2649 { "name": "styleId", "$ref": "CSSStyleId" }, 2659 { "name": "styleId", "$ref": "CSSStyleId" },
2650 { "name": "propertyIndex", "type": "integer" }, 2660 { "name": "propertyIndex", "type": "integer" },
2651 { "name": "text", "type": "string" }, 2661 { "name": "text", "type": "string" },
2652 { "name": "overwrite", "type": "boolean" } 2662 { "name": "overwrite", "type": "boolean" }
2653 ], 2663 ],
2654 "returns": [ 2664 "returns": [
2655 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the property text modification." } 2665 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the property text modification." }
2656 ], 2666 ],
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
4041 { 4051 {
4042 "name": "dataAvailable", 4052 "name": "dataAvailable",
4043 "parameters": [ 4053 "parameters": [
4044 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4054 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4045 ], 4055 ],
4046 "handlers": ["browser", "frontend"] 4056 "handlers": ["browser", "frontend"]
4047 } 4057 }
4048 ] 4058 ]
4049 }] 4059 }]
4050 } 4060 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698