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

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: review comments addressed 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
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": "rule", "$ref": "CSSStyle", "description": "The re sulting 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 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after
5029 "name": "securityStateChanged", 5041 "name": "securityStateChanged",
5030 "description": "The security state of the page changed.", 5042 "description": "The security state of the page changed.",
5031 "parameters": [ 5043 "parameters": [
5032 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." } 5044 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }
5033 ], 5045 ],
5034 "handlers": ["browser"] 5046 "handlers": ["browser"]
5035 } 5047 }
5036 ] 5048 ]
5037 }] 5049 }]
5038 } 5050 }
OLDNEW
« Source/core/inspector/InspectorStyleSheet.h ('K') | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698