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..13905e5dab42ebea6be07b239e7ef75a98491a5a 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -2163,6 +2163,16 @@ |
| "description": "Returns the root DOM node to the caller." |
| }, |
| { |
| + "name": "collectClassNames", |
| + "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." } |
| + ], |
| + "description": "Collects class names for the node with given id and all of it's child nodes." |
| + }, |
| + { |
| "name": "requestChildNodes", |
| "parameters": [ |
| { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." }, |
| @@ -2942,6 +2952,16 @@ |
| "description": "Returns the current textual content and the URL for a stylesheet." |
| }, |
| { |
| + "name": "collectClassNamesFromStyleSheet", |
|
lushnikov
2016/09/06 17:51:39
let's name this collectClassNames as well
ahmetemirercin
2016/09/07 00:02:28
Done.
|
| + "parameters": [ |
| + { "name": "styleSheetId", "$ref": "StyleSheetId" } |
| + ], |
| + "returns": [ |
| + {"name": "classNames", "type": "array", "items": { "type": "string"}, "optional": true, "description": "Class name list." } |
| + ], |
| + "description": "Returns all css class names for specified stylesheet." |
| + }, |
| + { |
| "name": "setStyleSheetText", |
| "parameters": [ |
| { "name": "styleSheetId", "$ref": "StyleSheetId" }, |