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

Side by Side 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "domains": [ 2 "domains": [
3 { 3 {
4 "commands": [ 4 "commands": [
5 { 5 {
6 "description": "Enables DOM agent for the given page.", 6 "description": "Enables DOM agent for the given page.",
7 "name": "enable" 7 "name": "enable"
8 }, 8 },
9 { 9 {
10 "description": "Disables DOM agent for the given page.", 10 "description": "Disables DOM agent for the given page.",
11 "name": "disable" 11 "name": "disable"
12 }, 12 },
13 { 13 {
14 "description": "Returns the root DOM node to the caller.", 14 "description": "Returns the root DOM node to the caller.",
15 "name": "getDocument", 15 "name": "getDocument",
16 "returns": [ 16 "returns": [
17 { 17 {
18 "$ref": "Node", 18 "$ref": "Node",
19 "description": "Resulting node.", 19 "description": "Resulting node.",
20 "name": "root" 20 "name": "root"
21 } 21 }
22 ] 22 ]
23 } 23 }
24 ], 24 ],
25 "events": [
26 {
27 "name": "childNodeInserted",
28 "parameters": [
29 {
30 "description": "Id of the node that has changed.",
31 "name": "parentNodeId",
32 "$ref": "NodeId"
33 },
34 {
35 "description": "Id of the previous sibling.",
36 "name": "previousNodeId",
37 "$ref": "NodeId"
38 },
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.
39 {
40 "description": "Inserted node data.",
41 "name": "node",
42 "$ref": "Node"
43 }
44 ],
45 "description": "Mirrors <code>DOMNodeInserted</code> event."
46 },
47 {
48 "name": "childNodeRemoved",
49 "parameters": [
50 {
51 "description": "Parent id.",
52 "name": "parentNodeId",
53 "$ref": "NodeId"
54 },
55 {
56 "description": "Id of the node that has been removed .",
57 "name": "nodeId",
58 "$ref": "NodeId"
59 }
60 ],
61 "description": "Mirrors <code>DOMNodeRemoved</code> event."
62 }
63 ],
25 "domain": "DOM", 64 "domain": "DOM",
26 "types": [ 65 "types": [
27 { 66 {
28 "description": "Unique DOM node identifier.", 67 "description": "Unique DOM node identifier.",
29 "id": "NodeId", 68 "id": "NodeId",
30 "type": "integer" 69 "type": "integer"
31 }, 70 },
32 { 71 {
33 "description": "DOM interaction is implemented in terms of m irror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.", 72 "description": "DOM interaction is implemented in terms of m irror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.",
34 "id": "Node", 73 "id": "Node",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "type": "object" 127 "type": "object"
89 } 128 }
90 ] 129 ]
91 } 130 }
92 ], 131 ],
93 "version": { 132 "version": {
94 "major": "1", 133 "major": "1",
95 "minor": "0" 134 "minor": "0"
96 } 135 }
97 } 136 }
OLDNEW
« 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