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

Side by Side Diff: Source/devtools/protocol.json

Issue 1181213007: DevTools: introduce CSS.setStyleText, we'll migrate setPropertyText to it later. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win fixed Created 5 years, 6 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
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3009 matching lines...) Expand 10 before | Expand all | Expand 10 after
3020 { "name": "styleSheetId", "$ref": "StyleSheetId" }, 3020 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3021 { "name": "range", "$ref": "SourceRange" }, 3021 { "name": "range", "$ref": "SourceRange" },
3022 { "name": "selector", "type": "string" } 3022 { "name": "selector", "type": "string" }
3023 ], 3023 ],
3024 "returns": [ 3024 "returns": [
3025 { "name": "rule", "$ref": "CSSRule", "description": "The res ulting rule after the selector modification." } 3025 { "name": "rule", "$ref": "CSSRule", "description": "The res ulting rule after the selector modification." }
3026 ], 3026 ],
3027 "description": "Modifies the rule selector." 3027 "description": "Modifies the rule selector."
3028 }, 3028 },
3029 { 3029 {
3030 "name": "setStyleText",
3031 "parameters": [
3032 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3033 { "name": "range", "$ref": "SourceRange" },
3034 { "name": "text", "type": "string" }
3035 ],
3036 "returns": [
3037 { "name": "style", "$ref": "CSSStyle", "description": "The r esulting style after the selector modification." }
3038 ],
3039 "description": "Modifies the style text."
3040 },
3041 {
3030 "name": "setMediaText", 3042 "name": "setMediaText",
3031 "parameters": [ 3043 "parameters": [
3032 { "name": "styleSheetId", "$ref": "StyleSheetId" }, 3044 { "name": "styleSheetId", "$ref": "StyleSheetId" },
3033 { "name": "range", "$ref": "SourceRange" }, 3045 { "name": "range", "$ref": "SourceRange" },
3034 { "name": "text", "type": "string" } 3046 { "name": "text", "type": "string" }
3035 ], 3047 ],
3036 "returns": [ 3048 "returns": [
3037 { "name": "media", "$ref": "CSSMedia", "description": "The r esulting CSS media rule after modification." } 3049 { "name": "media", "$ref": "CSSMedia", "description": "The r esulting CSS media rule after modification." }
3038 ], 3050 ],
3039 "description": "Modifies the rule selector." 3051 "description": "Modifies the rule selector."
(...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after
5039 "description": "The security state of the page changed.", 5051 "description": "The security state of the page changed.",
5040 "parameters": [ 5052 "parameters": [
5041 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, 5053 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." },
5042 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true } 5054 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true }
5043 ], 5055 ],
5044 "handlers": ["browser"] 5056 "handlers": ["browser"]
5045 } 5057 }
5046 ] 5058 ]
5047 }] 5059 }]
5048 } 5060 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698