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

Side by Side Diff: Source/devtools/protocol.json

Issue 1311783003: Devtools[LayoutEditor]: Rework layout-editor workflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@resize
Patch Set: Small improvements Created 5 years, 3 months 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 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 2339 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 ], 2350 ],
2351 "description": "Rectangle." 2351 "description": "Rectangle."
2352 }, 2352 },
2353 { 2353 {
2354 "id": "HighlightConfig", 2354 "id": "HighlightConfig",
2355 "type": "object", 2355 "type": "object",
2356 "properties": [ 2356 "properties": [
2357 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." }, 2357 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." },
2358 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." }, 2358 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." },
2359 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." }, 2359 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." },
2360 { "name": "showLayoutEditor", "type": "boolean", "optional": true, "hidden": true},
2361 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true}, 2360 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true},
2362 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, 2361 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
2363 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, 2362 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." },
2364 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, 2363 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." },
2365 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, 2364 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." },
2366 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }, 2365 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." },
2367 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." }, 2366 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." },
2368 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } 2367 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." }
2369 ], 2368 ],
2370 "description": "Configuration data for the highlighting of page elements." 2369 "description": "Configuration data for the highlighting of page elements."
2371 }, 2370 },
2372 { 2371 {
2373 "id": "InspectMode", 2372 "id": "InspectMode",
2374 "type": "string", 2373 "type": "string",
2375 "hidden": true, 2374 "hidden": true,
2376 "enum": [ 2375 "enum": [
2377 "searchForNode", 2376 "searchForNode",
2378 "searchForUAShadowDOM", 2377 "searchForUAShadowDOM",
2378 "showLayoutEditor",
2379 "none" 2379 "none"
2380 ] 2380 ]
2381 } 2381 }
2382 ], 2382 ],
2383 "commands": [ 2383 "commands": [
2384 { 2384 {
2385 "name": "enable", 2385 "name": "enable",
2386 "description": "Enables DOM agent for the given page." 2386 "description": "Enables DOM agent for the given page."
2387 }, 2387 },
2388 { 2388 {
(...skipping 2832 matching lines...) Expand 10 before | Expand all | Expand 10 after
5221 ], 5221 ],
5222 "returns": [ 5222 "returns": [
5223 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5223 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5224 ], 5224 ],
5225 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5225 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5226 "hidden": true 5226 "hidden": true
5227 } 5227 }
5228 ] 5228 ]
5229 }] 5229 }]
5230 } 5230 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698