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

Side by Side Diff: components/ui_devtools/protocol.json

Issue 2542243002: Add hovering feature to AshDevToolsDOMAgent (Closed)
Patch Set: Mask colors when converting RGBA to SkColor Created 4 years 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 | « components/ui_devtools/devtools_server.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 },
24 {
25 "name": "highlightNode",
26 "parameters": [
27 {
28 "name": "highlightConfig",
29 "$ref": "HighlightConfig",
30 "description": "A descriptor for the highlight appea rance."
31 },
32 {
33 "description": "Identifier of the node to highlight. ",
34 "optional": true,
35 "name": "nodeId",
36 "$ref": "NodeId"
37 }
38 ],
39 "description": "Highlights DOM node with given id or with th e given JavaScript object wrapper. Either nodeId or objectId must be specified."
40 },
41 {
42 "name": "hideHighlight",
43 "description": "Hides DOM node highlight."
23 } 44 }
45
24 ], 46 ],
25 "events": [ 47 "events": [
26 { 48 {
27 "name": "childNodeInserted", 49 "name": "childNodeInserted",
28 "parameters": [ 50 "parameters": [
29 { 51 {
30 "description": "Id of the node that has changed.", 52 "description": "Id of the node that has changed.",
31 "name": "parentNodeId", 53 "name": "parentNodeId",
32 "$ref": "NodeId" 54 "$ref": "NodeId"
33 }, 55 },
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 "type": "string" 141 "type": "string"
120 }, 142 },
121 { 143 {
122 "description": "<code>Attr</code>'s value.", 144 "description": "<code>Attr</code>'s value.",
123 "name": "value", 145 "name": "value",
124 "optional": true, 146 "optional": true,
125 "type": "string" 147 "type": "string"
126 } 148 }
127 ], 149 ],
128 "type": "object" 150 "type": "object"
129 } 151 },
152 {
153 "id": "RGBA",
154 "type": "object",
155 "properties": [
156 {
157 "name": "r",
158 "type": "integer",
159 "description": "The red component, in the [0-255] ra nge."
160 },
161 {
162 "name": "g",
163 "type": "integer",
164 "description": "The green component, in the [0-255] range."
165 },
166 {
167 "name": "b",
168 "type": "integer",
169 "description": "The blue component, in the [0-255] r ange."
170 },
171 {
172 "name": "a",
173 "type": "number",
174 "optional": true,
175 "description": "The alpha component, in the [0-1] ra nge (default: 1)."
176 }
177 ],
178 "description": "A structure holding an RGBA color."
179 },
180 {
181 "id": "HighlightConfig",
182 "type": "object",
183 "properties": [
184 {
185 "name": "contentColor",
186 "$ref": "RGBA",
187 "optional": true,
188 "description": "The content box highlight fill color (default: transparent)."
189 },
190 {
191 "name": "borderColor",
192 "$ref": "RGBA",
193 "optional": true,
194 "description": "The border highlight fill color (def ault: transparent)."
195 }
196 ],
197 "description": "Configuration data for the highlighting of p age elements."
198 }
130 ] 199 ]
131 }, 200 },
132 { 201 {
133 "commands": [ 202 "commands": [
134 { 203 {
135 "description": "Enables CSS agent for the given page.", 204 "description": "Enables CSS agent for the given page.",
136 "name": "enable" 205 "name": "enable"
137 }, 206 },
138 { 207 {
139 "description": "Disables CSS agent for the given page.", 208 "description": "Disables CSS agent for the given page.",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 "type": "object" 291 "type": "object"
223 } 292 }
224 ] 293 ]
225 } 294 }
226 ], 295 ],
227 "version": { 296 "version": {
228 "major": "1", 297 "major": "1",
229 "minor": "0" 298 "minor": "0"
230 } 299 }
231 } 300 }
OLDNEW
« no previous file with comments | « components/ui_devtools/devtools_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698