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

Side by Side Diff: components/ui_devtools/protocol.json

Issue 2486543003: Add CSS agent for various window/widget/view attributes in devtools (Closed)
Patch Set: sadruls comments Created 4 years, 1 month 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
« no previous file with comments | « components/ui_devtools/BUILD.gn ('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 "domains": [ 2 "domains": [
3 { 3 {
4 "commands": [ 4 "commands": [
5 { 5 {
6 "description": "Enables DOM agent for the given page.", 6 "description": "Enables DOM agent for the given page.",
7 "name": "enable" 7 "name": "enable"
8 }, 8 },
9 { 9 {
10 "description": "Disables DOM agent for the given page.", 10 "description": "Disables DOM agent for the given page.",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 { 121 {
122 "description": "<code>Attr</code>'s value.", 122 "description": "<code>Attr</code>'s value.",
123 "name": "value", 123 "name": "value",
124 "optional": true, 124 "optional": true,
125 "type": "string" 125 "type": "string"
126 } 126 }
127 ], 127 ],
128 "type": "object" 128 "type": "object"
129 } 129 }
130 ] 130 ]
131 },
132 {
133 "commands": [
134 {
135 "description": "Enables CSS agent for the given page.",
136 "name": "enable"
137 },
138 {
139 "description": "Disables CSS agent for the given page.",
140 "name": "disable"
141 },
142 {
143 "description": "Returns requested styles for a DOM node iden tified by <code>nodeId</code>.",
144 "name": "getMatchedStylesForNode",
145 "parameters": [
146 {
147 "$ref": "DOM.NodeId",
148 "name": "nodeId"
149 }
150 ],
151 "returns": [
152 {
153 "$ref": "CSSStyle",
154 "description": "Inline style for the specified DOM n ode.",
155 "name": "inlineStyle",
156 "optional": true
157 }
158 ]
159 }
160 ],
161 "domain": "CSS",
162 "types": [
163 {
164 "id": "CSSProperty",
165 "properties": [
166 {
167 "description": "The property name.",
168 "name": "name",
169 "type": "string"
170 },
171 {
172 "description": "The property value.",
173 "name": "value",
174 "type": "string"
175 }
176 ],
177 "type": "object"
178 },
179 {
180 "description": "CSS style representation.",
181 "id": "CSSStyle",
182 "properties": [
183 {
184 "description": "CSS properties in the style.",
185 "items": {
186 "$ref": "CSSProperty"
187 },
188 "name": "cssProperties",
189 "type": "array"
190 },
191 {
192 "description": "Frontend requires us to pass this. W e just pass an empty array.",
193 "items": {
194 "type": "string"
195 },
196 "name": "shorthandEntries",
197 "type": "array"
198 }
199 ],
200 "type": "object"
201 }
202 ]
131 } 203 }
132 ], 204 ],
133 "version": { 205 "version": {
134 "major": "1", 206 "major": "1",
135 "minor": "0" 207 "minor": "0"
136 } 208 }
137 } 209 }
OLDNEW
« no previous file with comments | « components/ui_devtools/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698