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..d0f74e0e048d29197c79ee09d008e53a92eb9ac8 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": "collectClassNames", |
|
dgozman
2016/09/09 01:57:56
collectClassNamesFromSubtree
ahmetemirercin
2016/09/09 10:07:55
Done.
|
| + "parameters": [ |
| + { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." } |
| + ], |
| + "returns": [ |
| + {"name": "classNames", "type": "array", "items": { "type": "string"}, "optional": true, "description": "Class name list." } |
|
dgozman
2016/09/09 01:57:56
- Don't make it optional.
- style: space between "
ahmetemirercin
2016/09/09 10:07:55
Done.
|
| + ], |
| + "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"}, "optional": true, "description": "Class name list." } |
|
dgozman
2016/09/09 01:57:56
- Don't make it optional.
- style: space between "
ahmetemirercin
2016/09/09 10:07:55
Done.
|
| + ], |
| + "description": "Returns all class names from specified stylesheet.", |
| + "experimental": true |
| + }, |
| + { |
| "name": "setStyleSheetText", |
| "parameters": [ |
| { "name": "styleSheetId", "$ref": "StyleSheetId" }, |