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

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: rebase 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
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 "id": "ShorthandEntry",
181 "properties": [
182 {
183 "description": "Shorthand name.",
184 "name": "name",
185 "type": "string"
186 },
187 {
188 "description": "Shorthand value.",
189 "name": "value",
190 "type": "string"
191 }
192 ],
193 "type": "object"
194 },
195 {
196 "description": "CSS style representation.",
197 "id": "CSSStyle",
198 "properties": [
199 {
200 "description": "CSS properties in the style.",
201 "items": {
202 "$ref": "CSSProperty"
203 },
204 "name": "cssProperties",
205 "type": "array"
206 },
207 {
208 "description": "Computed values for all shorthands f ound in the style.",
209 "items": {
210 "$ref": "ShorthandEntry"
211 },
212 "name": "shorthandEntries",
213 "type": "array"
214 }
215 ],
216 "type": "object"
217 }
218 ]
131 } 219 }
132 ], 220 ],
133 "version": { 221 "version": {
134 "major": "1", 222 "major": "1",
135 "minor": "0" 223 "minor": "0"
136 } 224 }
137 } 225 }
OLDNEW
« ash/common/devtools/ash_devtools_dom_agent.cc ('K') | « components/ui_devtools/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698