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

Unified Diff: components/ui_devtools/protocol.json

Issue 2466073003: Push updates to inspector when windows are added, destroyed or reorganized (Closed)
Patch Set: Push updates to inspector when windows are added, destroyed or reorganized 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
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": [
{
« ash/common/devtools/ash_devtools_dom_agent.cc ('K') | « 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