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

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

Issue 320933003: DevTools: Expand protocol to allow setting DOM event breakpoints on a given event target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 3318 matching lines...) Expand 10 before | Expand all | Expand 10 after
3329 "name": "removeDOMBreakpoint", 3329 "name": "removeDOMBreakpoint",
3330 "parameters": [ 3330 "parameters": [
3331 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id entifier of the node to remove breakpoint from." }, 3331 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id entifier of the node to remove breakpoint from." },
3332 { "name": "type", "$ref": "DOMBreakpointType", "description" : "Type of the breakpoint to remove." } 3332 { "name": "type", "$ref": "DOMBreakpointType", "description" : "Type of the breakpoint to remove." }
3333 ], 3333 ],
3334 "description": "Removes DOM breakpoint that was set using <code> setDOMBreakpoint</code>." 3334 "description": "Removes DOM breakpoint that was set using <code> setDOMBreakpoint</code>."
3335 }, 3335 },
3336 { 3336 {
3337 "name": "setEventListenerBreakpoint", 3337 "name": "setEventListenerBreakpoint",
3338 "parameters": [ 3338 "parameters": [
3339 { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." } 3339 { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." },
3340 { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name to stop on. If equal to <code>\"*\"</ code> or not provided, will stop on any EventTarget.", "hidden": true }
3340 ], 3341 ],
3341 "description": "Sets breakpoint on particular DOM event." 3342 "description": "Sets breakpoint on particular DOM event."
3342 }, 3343 },
3343 { 3344 {
3344 "name": "removeEventListenerBreakpoint", 3345 "name": "removeEventListenerBreakpoint",
3345 "parameters": [ 3346 "parameters": [
3346 { "name": "eventName", "type": "string", "description": "Eve nt name." } 3347 { "name": "eventName", "type": "string", "description": "Eve nt name." },
3348 { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name.", "hidden": true }
3347 ], 3349 ],
3348 "description": "Removes breakpoint on particular DOM event." 3350 "description": "Removes breakpoint on particular DOM event."
3349 }, 3351 },
3350 { 3352 {
3351 "name": "setInstrumentationBreakpoint", 3353 "name": "setInstrumentationBreakpoint",
3352 "parameters": [ 3354 "parameters": [
3353 { "name": "eventName", "type": "string", "description": "Ins trumentation name to stop on." } 3355 { "name": "eventName", "type": "string", "description": "Ins trumentation name to stop on." }
3354 ], 3356 ],
3355 "description": "Sets breakpoint on particular native event.", 3357 "description": "Sets breakpoint on particular native event.",
3356 "hidden": true 3358 "hidden": true
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
4175 { 4177 {
4176 "name": "dataAvailable", 4178 "name": "dataAvailable",
4177 "parameters": [ 4179 "parameters": [
4178 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4180 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4179 ], 4181 ],
4180 "handlers": ["browser", "frontend"] 4182 "handlers": ["browser", "frontend"]
4181 } 4183 }
4182 ] 4184 ]
4183 }] 4185 }]
4184 } 4186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698