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 0d879762aa2bb74ed6a16f4dfb50de5e50f2cc24..a9b266f910ddea98cf7b0ec069cafb50f754bf6a 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -2163,6 +2163,17 @@ |
| "description": "Returns the root DOM node to the caller." |
| }, |
| { |
| + "name": "collectClassNamesFromSubtree", |
|
pfeldman
2016/09/09 15:55:23
What about node ids? Will that be a separate metho
|
| + "parameters": [ |
| + { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." } |
| + ], |
| + "returns": [ |
| + {"name": "classNames", "type": "array", "items": { "type": "string" }, "description": "Class name list." } |
| + ], |
| + "description": "Collects class names for the node with given id and all of it's child nodes.", |
| + "experimental": true |
| + }, |
| + { |
| "name": "requestChildNodes", |
| "parameters": [ |
| { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." }, |
| @@ -2942,6 +2953,17 @@ |
| "description": "Returns the current textual content and the URL for a stylesheet." |
| }, |
| { |
| + "name": "collectClassNames", |
| + "parameters": [ |
| + { "name": "styleSheetId", "$ref": "StyleSheetId" } |
| + ], |
| + "returns": [ |
| + {"name": "classNames", "type": "array", "items": { "type": "string" }, "description": "Class name list." } |
| + ], |
| + "description": "Returns all class names from specified stylesheet.", |
| + "experimental": true |
| + }, |
| + { |
| "name": "setStyleSheetText", |
| "parameters": [ |
| { "name": "styleSheetId", "$ref": "StyleSheetId" }, |