Chromium Code Reviews| Index: components/ui_devtools/protocol.json |
| diff --git a/components/ui_devtools/protocol.json b/components/ui_devtools/protocol.json |
| index 3e4af011c8034ebfcfe9f8ef9c83ee837601eeb1..0e5a00dd4c3647aa397044bd73781f64f3387f60 100644 |
| --- a/components/ui_devtools/protocol.json |
| +++ b/components/ui_devtools/protocol.json |
| @@ -22,6 +22,45 @@ |
| ] |
| } |
| ], |
| + "events": [ |
| + { |
| + "name": "childNodeInserted", |
| + "parameters": [ |
| + { |
| + "description": "Id of the node that has changed.", |
| + "name": "parentNodeId", |
| + "$ref": "NodeId" |
| + }, |
| + { |
| + "description": "Id of the previous sibling.", |
| + "name": "previousNodeId", |
| + "$ref": "NodeId" |
| + }, |
|
sadrul
2016/11/02 02:04:36
Are there some special values for this? (e.g. 0 me
Sarmad Hashmi
2016/11/03 01:42:18
From what I've noticed, 0 means the beginning.
|
| + { |
| + "description": "Inserted node data.", |
| + "name": "node", |
| + "$ref": "Node" |
| + } |
| + ], |
| + "description": "Mirrors <code>DOMNodeInserted</code> event." |
| + }, |
| + { |
| + "name": "childNodeRemoved", |
| + "parameters": [ |
| + { |
| + "description": "Parent id.", |
| + "name": "parentNodeId", |
| + "$ref": "NodeId" |
| + }, |
| + { |
| + "description": "Id of the node that has been removed.", |
| + "name": "nodeId", |
| + "$ref": "NodeId" |
| + } |
| + ], |
| + "description": "Mirrors <code>DOMNodeRemoved</code> event." |
| + } |
| + ], |
| "domain": "DOM", |
| "types": [ |
| { |