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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2495623002: Rename traverseFrames to pierce and traverse shadow dom too. (Closed)
Patch Set: Rename traverseFrames to pierce. 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 | « third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp ('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 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": 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 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2115 "description": "Enables DOM agent for the given page." 2115 "description": "Enables DOM agent for the given page."
2116 }, 2116 },
2117 { 2117 {
2118 "name": "disable", 2118 "name": "disable",
2119 "description": "Disables DOM agent for the given page." 2119 "description": "Disables DOM agent for the given page."
2120 }, 2120 },
2121 { 2121 {
2122 "name": "getDocument", 2122 "name": "getDocument",
2123 "parameters": [ 2123 "parameters": [
2124 { "name": "depth", "type": "integer", "optional": true, "des cription": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi mental": true }, 2124 { "name": "depth", "type": "integer", "optional": true, "des cription": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi mental": true },
2125 { "name": "traverseFrames", "type": "boolean", "optional": t rue, "description": "Whether or not iframes should be traversed when returning t he subtree (default is false).", "experimental": true } 2125 { "name": "pierce", "type": "boolean", "optional": true, "de scription": "Whether or not iframes and shadow roots should be traversed when re turning the subtree (default is false).", "experimental": true }
2126 ], 2126 ],
2127 "returns": [ 2127 "returns": [
2128 { "name": "root", "$ref": "Node", "description": "Resulting node." } 2128 { "name": "root", "$ref": "Node", "description": "Resulting node." }
2129 ], 2129 ],
2130 "description": "Returns the root DOM node (and optionally the su btree) to the caller." 2130 "description": "Returns the root DOM node (and optionally the su btree) to the caller."
2131 }, 2131 },
2132 { 2132 {
2133 "name": "collectClassNamesFromSubtree", 2133 "name": "collectClassNamesFromSubtree",
2134 "parameters": [ 2134 "parameters": [
2135 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." } 2135 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." }
2136 ], 2136 ],
2137 "returns": [ 2137 "returns": [
2138 {"name": "classNames", "type": "array", "items": { "type": " string" }, "description": "Class name list." } 2138 {"name": "classNames", "type": "array", "items": { "type": " string" }, "description": "Class name list." }
2139 ], 2139 ],
2140 "description": "Collects class names for the node with given id and all of it's child nodes.", 2140 "description": "Collects class names for the node with given id and all of it's child nodes.",
2141 "experimental": true 2141 "experimental": true
2142 }, 2142 },
2143 { 2143 {
2144 "name": "requestChildNodes", 2144 "name": "requestChildNodes",
2145 "parameters": [ 2145 "parameters": [
2146 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." }, 2146 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." },
2147 { "name": "depth", "type": "integer", "optional": true, "des cription": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi mental": true }, 2147 { "name": "depth", "type": "integer", "optional": true, "des cription": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi mental": true },
2148 { "name": "traverseFrames", "type": "boolean", "optional": t rue, "description": "Whether or not iframes should be traversed when returning t he sub-tree (default is false).", "experimental": true } 2148 { "name": "pierce", "type": "boolean", "optional": true, "de scription": "Whether or not iframes and shadow roots should be traversed when re turning the sub-tree (default is false).", "experimental": true }
2149 ], 2149 ],
2150 "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where n ot only immediate children are retrieved, but all children down to the specified depth." 2150 "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where n ot only immediate children are retrieved, but all children down to the specified depth."
2151 }, 2151 },
2152 { 2152 {
2153 "name": "querySelector", 2153 "name": "querySelector",
2154 "parameters": [ 2154 "parameters": [
2155 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to query upon." }, 2155 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to query upon." },
2156 { "name": "selector", "type": "string", "description": "Sele ctor string." } 2156 { "name": "selector", "type": "string", "description": "Sele ctor string." }
2157 ], 2157 ],
2158 "returns": [ 2158 "returns": [
(...skipping 2327 matching lines...) Expand 10 before | Expand all | Expand 10 after
4486 "name": "accepted", 4486 "name": "accepted",
4487 "description": "Informs that port was successfully bound and got a specified connection id.", 4487 "description": "Informs that port was successfully bound and got a specified connection id.",
4488 "parameters": [ 4488 "parameters": [
4489 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4489 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4490 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4490 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4491 ] 4491 ]
4492 } 4492 }
4493 ] 4493 ]
4494 }] 4494 }]
4495 } 4495 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698