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

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

Issue 2526103002: Add live updates for AshDevToolsCSSAgent (Closed)
Patch Set: Override enable/disable methods to attach/detach observer to DOMAgent Created 4 years 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 | « ash/common/devtools/ash_devtools_dom_agent.cc ('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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 "returns": [ 151 "returns": [
152 { 152 {
153 "$ref": "CSSStyle", 153 "$ref": "CSSStyle",
154 "description": "Inline style for the specified DOM n ode.", 154 "description": "Inline style for the specified DOM n ode.",
155 "name": "inlineStyle", 155 "name": "inlineStyle",
156 "optional": true 156 "optional": true
157 } 157 }
158 ] 158 ]
159 } 159 }
160 ], 160 ],
161 "events": [
162 {
163 "name": "styleSheetChanged",
164 "parameters": [
165 {
166 "name": "styleSheetId",
167 "$ref": "StyleSheetId"
168 }
169 ],
170 "description": "Fired whenever any bounds are updated for an y object."
171 }
172 ],
161 "domain": "CSS", 173 "domain": "CSS",
162 "types": [ 174 "types": [
163 { 175 {
176 "id": "StyleSheetId",
177 "type": "string"
178 },
179 {
164 "id": "CSSProperty", 180 "id": "CSSProperty",
165 "properties": [ 181 "properties": [
166 { 182 {
167 "description": "The property name.", 183 "description": "The property name.",
168 "name": "name", 184 "name": "name",
169 "type": "string" 185 "type": "string"
170 }, 186 },
171 { 187 {
172 "description": "The property value.", 188 "description": "The property value.",
173 "name": "value", 189 "name": "value",
174 "type": "string" 190 "type": "string"
175 } 191 }
176 ], 192 ],
177 "type": "object" 193 "type": "object"
178 }, 194 },
179 { 195 {
180 "description": "CSS style representation.", 196 "description": "CSS style representation.",
181 "id": "CSSStyle", 197 "id": "CSSStyle",
182 "properties": [ 198 "properties": [
183 { 199 {
200 "description": "The css style sheet identifier (abse nt for user agent stylesheet and user-specified stylesheet rules) this rule came from. For UI devtools, this is simply equivalent to the NodeId.",
201 "optional": true,
202 "name": "styleSheetId",
203 "$ref": "StyleSheetId"
204 },
205 {
184 "description": "CSS properties in the style.", 206 "description": "CSS properties in the style.",
185 "items": { 207 "items": {
186 "$ref": "CSSProperty" 208 "$ref": "CSSProperty"
187 }, 209 },
188 "name": "cssProperties", 210 "name": "cssProperties",
189 "type": "array" 211 "type": "array"
190 }, 212 },
191 { 213 {
192 "description": "Frontend requires us to pass this. W e just pass an empty array.", 214 "description": "Frontend requires us to pass this. W e just pass an empty array.",
193 "items": { 215 "items": {
194 "type": "string" 216 "type": "string"
195 }, 217 },
196 "name": "shorthandEntries", 218 "name": "shorthandEntries",
197 "type": "array" 219 "type": "array"
198 } 220 }
199 ], 221 ],
200 "type": "object" 222 "type": "object"
201 } 223 }
202 ] 224 ]
203 } 225 }
204 ], 226 ],
205 "version": { 227 "version": {
206 "major": "1", 228 "major": "1",
207 "minor": "0" 229 "minor": "0"
208 } 230 }
209 } 231 }
OLDNEW
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698