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

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: 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 unified diff | Download patch
« no previous file with comments | « ash/common/devtools/ash_devtools_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
36 "description": "Id of the previous sibling (0 if thi s is at the beginning of the list).",
37 "name": "previousNodeId",
38 "$ref": "NodeId"
39 },
40 {
41 "description": "Inserted node data.",
42 "name": "node",
43 "$ref": "Node"
44 }
45 ],
46 "description": "Mirrors <code>DOMNodeInserted</code> event."
47 },
48 {
49 "name": "childNodeRemoved",
50 "parameters": [
51 {
52 "description": "Parent id.",
53 "name": "parentNodeId",
54 "$ref": "NodeId"
55 },
56 {
57 "description": "Id of the node that has been removed .",
58 "name": "nodeId",
59 "$ref": "NodeId"
60 }
61 ],
62 "description": "Mirrors <code>DOMNodeRemoved</code> event."
63 }
64 ],
25 "domain": "DOM", 65 "domain": "DOM",
26 "types": [ 66 "types": [
27 { 67 {
28 "description": "Unique DOM node identifier.", 68 "description": "Unique DOM node identifier.",
29 "id": "NodeId", 69 "id": "NodeId",
30 "type": "integer" 70 "type": "integer"
31 }, 71 },
32 { 72 {
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.", 73 "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", 74 "id": "Node",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "type": "object" 128 "type": "object"
89 } 129 }
90 ] 130 ]
91 } 131 }
92 ], 132 ],
93 "version": { 133 "version": {
94 "major": "1", 134 "major": "1",
95 "minor": "0" 135 "minor": "0"
96 } 136 }
97 } 137 }
OLDNEW
« 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