Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Unified Diff: components/ui_devtools/protocol.json

Issue 2466073003: Push updates to inspector when windows are added, destroyed or reorganized (Closed)
Patch Set: Document previous sibling id Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/devtools/ash_devtools_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/protocol.json
diff --git a/components/ui_devtools/protocol.json b/components/ui_devtools/protocol.json
index 3e4af011c8034ebfcfe9f8ef9c83ee837601eeb1..4f843e1f61b6e0710c6e0f51a2c28cc4de74e7cf 100644
--- a/components/ui_devtools/protocol.json
+++ b/components/ui_devtools/protocol.json
@@ -22,6 +22,46 @@
]
}
],
+ "events": [
+ {
+ "name": "childNodeInserted",
+ "parameters": [
+ {
+ "description": "Id of the node that has changed.",
+ "name": "parentNodeId",
+ "$ref": "NodeId"
+ },
+ {
+
+ "description": "Id of the previous sibling (0 if this is at the beginning of the list).",
+ "name": "previousNodeId",
+ "$ref": "NodeId"
+ },
+ {
+ "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": [
{
« no previous file with comments | « ash/common/devtools/ash_devtools_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698