Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
| diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| index 5931848bd7140cda603874ca25227484101f527c..62bd1db3da0416f6e2b5a801f0223f49efa85784 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -2061,6 +2061,29 @@ |
| "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type." |
| }, |
| { |
| + "id": "InlineTextBox", |
| + "type": "object", |
| + "properties": [ |
| + { "name": "boundingBox", "$ref": "Rect", "description": "The absolute position bounding box." }, |
| + { "name": "startCharacterIndex", "type": "integer", "description": "The starting index in characters, for this post layout textbox substring." }, |
| + { "name": "numCharacters", "type": "integer", "description": "The number of characters in this post layout textbox substring." } |
| + ], |
| + "description": "Details of post layout rendered text positions. Note layout may change between ", |
|
Sami
2016/09/30 10:05:23
Cut off sentence?
alex clarke (OOO till 29th)
2016/09/30 10:27:53
Done.
|
| + "experimental": true |
| + }, |
| + { |
| + "id": "LayoutTreeNode", |
| + "type": "object", |
| + "properties": [ |
| + { "name": "backendNodeId", "$ref": "BackendNodeId", "description": "The BackendNodeId of the related DOM node." }, |
| + { "name": "boundingBox", "$ref": "Rect", "description": "The absolute position bounding box." }, |
| + { "name": "layoutText", "type": "string", "optional": true, "description": "Contents of the LayoutText if any" }, |
| + { "name": "inlineTextNodes", "type": "array", "optional": true, "items": { "$ref": "InlineTextBox" }, "description": "The post layout inline text nodes, if any." } |
| + ], |
| + "description": "Details of an element in the DOM tree with a LayoutObject.", |
| + "experimental": true |
| + }, |
| + { |
| "id": "RGBA", |
| "type": "object", |
| "properties": [ |
| @@ -2166,6 +2189,14 @@ |
| "description": "Returns the root DOM node to the caller." |
| }, |
| { |
| + "name": "getLayoutTreeNodes", |
| + "returns": [ |
| + { "name": "layoutTreeNodes", "type": "array", "items": { "$ref": "LayoutTreeNode" } } |
| + ], |
| + "description": "Returns the document's LayoutTreeNodes to the caller.", |
|
Sami
2016/09/30 10:05:23
Maybe mention this includes child documents too?
alex clarke (OOO till 29th)
2016/09/30 10:27:53
Done.
|
| + "experimental": true |
| + }, |
| + { |
| "name": "collectClassNamesFromSubtree", |
| "parameters": [ |
| { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." } |