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

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

Issue 2455613002: Fix index used to join results of DOM.getDocument and CSS.getLayoutTreeAndStyles (Closed)
Patch Set: Fix skew between property names and values when emepty ones are skipped. 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/InspectorCSSAgent.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 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after
2904 { "name": "startCharacterIndex", "type": "integer", "descrip tion": "The starting index in characters, for this post layout textbox substring ." }, 2904 { "name": "startCharacterIndex", "type": "integer", "descrip tion": "The starting index in characters, for this post layout textbox substring ." },
2905 { "name": "numCharacters", "type": "integer", "description": "The number of characters in this post layout textbox substring." } 2905 { "name": "numCharacters", "type": "integer", "description": "The number of characters in this post layout textbox substring." }
2906 ], 2906 ],
2907 "description": "Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between version s.", 2907 "description": "Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between version s.",
2908 "experimental": true 2908 "experimental": true
2909 }, 2909 },
2910 { 2910 {
2911 "id": "LayoutTreeNode", 2911 "id": "LayoutTreeNode",
2912 "type": "object", 2912 "type": "object",
2913 "properties": [ 2913 "properties": [
2914 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des cription": "The BackendNodeId of the related DOM node." }, 2914 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th e id of the related DOM node matching one from DOM.GetDocument." },
2915 { "name": "boundingBox", "$ref": "DOM.Rect", "description": "The absolute position bounding box." }, 2915 { "name": "boundingBox", "$ref": "DOM.Rect", "description": "The absolute position bounding box." },
2916 { "name": "layoutText", "type": "string", "optional": true, "description": "Contents of the LayoutText if any" }, 2916 { "name": "layoutText", "type": "string", "optional": true, "description": "Contents of the LayoutText if any" },
2917 { "name": "inlineTextNodes", "type": "array", "optional": tr ue, "items": { "$ref": "InlineTextBox" }, "description": "The post layout inline text nodes, if any." }, 2917 { "name": "inlineTextNodes", "type": "array", "optional": tr ue, "items": { "$ref": "InlineTextBox" }, "description": "The post layout inline text nodes, if any." },
2918 { "name": "styleIndex", "type": "integer", "optional": true, "description": "Index into the computedStyles array returned by getLayoutTreeAn dStyles." } 2918 { "name": "styleIndex", "type": "integer", "optional": true, "description": "Index into the computedStyles array returned by getLayoutTreeAn dStyles." }
2919 ], 2919 ],
2920 "description": "Details of an element in the DOM tree with a Lay outObject.", 2920 "description": "Details of an element in the DOM tree with a Lay outObject.",
2921 "experimental": true 2921 "experimental": true
2922 }, 2922 },
2923 { 2923 {
2924 "id": "ComputedStyle", 2924 "id": "ComputedStyle",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
3125 }, 3125 },
3126 { 3126 {
3127 "name": "getLayoutTreeAndStyles", 3127 "name": "getLayoutTreeAndStyles",
3128 "parameters": [ 3128 "parameters": [
3129 { "name": "computedStyleWhitelist", "type": "array", "items" : { "type": "string" }, "description": "Whitelist of computed styles to return." } 3129 { "name": "computedStyleWhitelist", "type": "array", "items" : { "type": "string" }, "description": "Whitelist of computed styles to return." }
3130 ], 3130 ],
3131 "returns": [ 3131 "returns": [
3132 { "name": "layoutTreeNodes", "type": "array", "items": { "$r ef": "LayoutTreeNode" } }, 3132 { "name": "layoutTreeNodes", "type": "array", "items": { "$r ef": "LayoutTreeNode" } },
3133 { "name": "computedStyles", "type": "array", "items": { "$re f": "ComputedStyle" } } 3133 { "name": "computedStyles", "type": "array", "items": { "$re f": "ComputedStyle" } }
3134 ], 3134 ],
3135 "description": "For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style.", 3135 "description": "For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style. It o nly returns pushed nodes, on way to pull all nodes is to call DOM.getDocument wi th a depth of -1.",
3136 "experimental": true 3136 "experimental": true
3137 } 3137 }
3138 ], 3138 ],
3139 "events": [ 3139 "events": [
3140 { 3140 {
3141 "name": "mediaQueryResultChanged", 3141 "name": "mediaQueryResultChanged",
3142 "description": "Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation co nsiders only viewport-dependent media features." 3142 "description": "Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation co nsiders only viewport-dependent media features."
3143 }, 3143 },
3144 { 3144 {
3145 "name": "fontsUpdated", 3145 "name": "fontsUpdated",
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
4550 "description": "Informs that port was successfully bound and got a specified connection id.", 4550 "description": "Informs that port was successfully bound and got a specified connection id.",
4551 "parameters": [ 4551 "parameters": [
4552 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4552 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4553 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4553 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4554 ], 4554 ],
4555 "handlers": ["browser"] 4555 "handlers": ["browser"]
4556 } 4556 }
4557 ] 4557 ]
4558 }] 4558 }]
4559 } 4559 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698