Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 2322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2333 ], | 2333 ], |
| 2334 "description": "Rectangle." | 2334 "description": "Rectangle." |
| 2335 }, | 2335 }, |
| 2336 { | 2336 { |
| 2337 "id": "HighlightConfig", | 2337 "id": "HighlightConfig", |
| 2338 "type": "object", | 2338 "type": "object", |
| 2339 "properties": [ | 2339 "properties": [ |
| 2340 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." }, | 2340 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." }, |
| 2341 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." }, | 2341 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." }, |
| 2342 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." }, | 2342 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." }, |
| 2343 { "name": "showLayoutEditor", "type": "boolean", "optional": true, "hidden": true}, | |
|
pfeldman
2015/08/25 21:25:29
Like you don't have it here.
sergeyv
2015/08/26 02:25:49
Done.
| |
| 2344 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true}, | 2343 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "hidden": true}, |
| 2345 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, | 2344 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, |
| 2346 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, | 2345 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, |
| 2347 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, | 2346 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, |
| 2348 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, | 2347 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, |
| 2349 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }, | 2348 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }, |
| 2350 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." }, | 2349 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "h idden": true, "description": "The shape outside fill color (default: transparent )." }, |
| 2351 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } | 2350 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The shape margin fill color (default: transp arent)." } |
| 2352 ], | 2351 ], |
| 2353 "description": "Configuration data for the highlighting of page elements." | 2352 "description": "Configuration data for the highlighting of page elements." |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2511 "returns": [ | 2510 "returns": [ |
| 2512 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } | 2511 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } |
| 2513 ], | 2512 ], |
| 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." | 2513 "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 }, | 2514 }, |
| 2516 { | 2515 { |
| 2517 "name": "setInspectModeEnabled", | 2516 "name": "setInspectModeEnabled", |
| 2518 "hidden": true, | 2517 "hidden": true, |
| 2519 "parameters": [ | 2518 "parameters": [ |
| 2520 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." }, | 2519 { "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." }, | 2520 { "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>." } | 2521 { "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 ], | 2522 ], |
| 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." | 2523 "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 }, | 2524 }, |
| 2526 { | 2525 { |
| 2527 "name": "highlightRect", | 2526 "name": "highlightRect", |
| 2528 "parameters": [ | 2527 "parameters": [ |
| 2529 { "name": "x", "type": "integer", "description": "X coordina te" }, | 2528 { "name": "x", "type": "integer", "description": "X coordina te" }, |
| 2530 { "name": "y", "type": "integer", "description": "Y coordina te" }, | 2529 { "name": "y", "type": "integer", "description": "Y coordina te" }, |
| 2531 { "name": "width", "type": "integer", "description": "Rectan gle width" }, | 2530 { "name": "width", "type": "integer", "description": "Rectan gle width" }, |
| (...skipping 2623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5155 ], | 5154 ], |
| 5156 "returns": [ | 5155 "returns": [ |
| 5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5156 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5158 ], | 5157 ], |
| 5159 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5158 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5160 "hidden": true | 5159 "hidden": true |
| 5161 } | 5160 } |
| 5162 ] | 5161 ] |
| 5163 }] | 5162 }] |
| 5164 } | 5163 } |
| OLD | NEW |