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

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: Created 5 years, 4 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 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after
2511 "returns": [ 2511 "returns": [
2512 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } 2512 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." }
2513 ], 2513 ],
2514 "description": "Requests that the node is sent to the caller giv en the JavaScript node object reference. All nodes that form the path from the n ode to the root are also sent to the client as a series of <code>setChildNodes</ code> notifications." 2514 "description": "Requests that the node is sent to the caller giv en the JavaScript node object reference. All nodes that form the path from the n ode to the root are also sent to the client as a series of <code>setChildNodes</ code> notifications."
2515 }, 2515 },
2516 { 2516 {
2517 "name": "setInspectModeEnabled", 2517 "name": "setInspectModeEnabled",
2518 "hidden": true, 2518 "hidden": true,
2519 "parameters": [ 2519 "parameters": [
2520 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." }, 2520 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." },
2521 { "name": "inspectUAShadowDOM", "type": "boolean", "optional ": true, "description": "True to enable inspection mode for user agent shadow DO M." }, 2521 { "name": "mode", "type": "string", "enum": ["showUAShadowDO M", "showLayoutEditor"], "optional": true, "description": "True to enable inspec tion mode for user agent shadow DOM." },
2522 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt ional": true, "description": "A descriptor for the highlight appearance of hover ed-over nodes. May be omitted if <code>enabled == false</code>." } 2522 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt ional": true, "description": "A descriptor for the highlight appearance of hover ed-over nodes. May be omitted if <code>enabled == false</code>." }
2523 ], 2523 ],
2524 "description": "Enters the 'inspect' mode. In this mode, element s that user is hovering over are highlighted. Backend then generates 'inspectNod eRequested' event upon element selection." 2524 "description": "Enters the 'inspect' mode. In this mode, element s that user is hovering over are highlighted. Backend then generates 'inspectNod eRequested' event upon element selection."
2525 }, 2525 },
2526 { 2526 {
2527 "name": "highlightRect", 2527 "name": "highlightRect",
2528 "parameters": [ 2528 "parameters": [
2529 { "name": "x", "type": "integer", "description": "X coordina te" }, 2529 { "name": "x", "type": "integer", "description": "X coordina te" },
2530 { "name": "y", "type": "integer", "description": "Y coordina te" }, 2530 { "name": "y", "type": "integer", "description": "Y coordina te" },
2531 { "name": "width", "type": "integer", "description": "Rectan gle width" }, 2531 { "name": "width", "type": "integer", "description": "Rectan gle width" },
(...skipping 2623 matching lines...) Expand 10 before | Expand all | Expand 10 after
5155 ], 5155 ],
5156 "returns": [ 5156 "returns": [
5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5158 ], 5158 ],
5159 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5159 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5160 "hidden": true 5160 "hidden": true
5161 } 5161 }
5162 ] 5162 ]
5163 }] 5163 }]
5164 } 5164 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698