OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
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 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2457 "type": "object", | 2457 "type": "object", |
2458 "properties": [ | 2458 "properties": [ |
2459 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | 2459 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, |
2460 { "name": "name", "type": "string", "description": "Named Fl
ow identifier." }, | 2460 { "name": "name", "type": "string", "description": "Named Fl
ow identifier." }, |
2461 { "name": "overset", "type": "boolean", "description": "The
\"overset\" attribute of a Named Flow." }, | 2461 { "name": "overset", "type": "boolean", "description": "The
\"overset\" attribute of a Named Flow." }, |
2462 { "name": "content", "type": "array", "items": { "$ref": "DO
M.NodeId" }, "description": "An array of nodes that flow into the Named Flow." }
, | 2462 { "name": "content", "type": "array", "items": { "$ref": "DO
M.NodeId" }, "description": "An array of nodes that flow into the Named Flow." }
, |
2463 { "name": "regions", "type": "array", "items": { "$ref": "Re
gion" }, "description": "An array of regions associated with the Named Flow." } | 2463 { "name": "regions", "type": "array", "items": { "$ref": "Re
gion" }, "description": "An array of regions associated with the Named Flow." } |
2464 ], | 2464 ], |
2465 "description": "This object represents a Named Flow.", | 2465 "description": "This object represents a Named Flow.", |
2466 "hidden": true | 2466 "hidden": true |
| 2467 }, |
| 2468 { |
| 2469 "id": "PlatformFontUsage", |
| 2470 "type": "object", |
| 2471 "properties": [ |
| 2472 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, |
| 2473 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} |
| 2474 ], |
| 2475 "description": "Information about amount of glyphs that were ren
dered with given font." |
2467 } | 2476 } |
2468 ], | 2477 ], |
2469 "commands": [ | 2478 "commands": [ |
2470 { | 2479 { |
2471 "name": "enable", | 2480 "name": "enable", |
2472 "description": "Enables the CSS agent for the given page. Client
s should not assume that the CSS agent has been enabled until the result of this
command is received." | 2481 "description": "Enables the CSS agent for the given page. Client
s should not assume that the CSS agent has been enabled until the result of this
command is received." |
2473 }, | 2482 }, |
2474 { | 2483 { |
2475 "name": "disable", | 2484 "name": "disable", |
2476 "description": "Disables the CSS agent for the given page." | 2485 "description": "Disables the CSS agent for the given page." |
(...skipping 27 matching lines...) Expand all Loading... |
2504 "name": "getComputedStyleForNode", | 2513 "name": "getComputedStyleForNode", |
2505 "parameters": [ | 2514 "parameters": [ |
2506 { "name": "nodeId", "$ref": "DOM.NodeId" } | 2515 { "name": "nodeId", "$ref": "DOM.NodeId" } |
2507 ], | 2516 ], |
2508 "returns": [ | 2517 "returns": [ |
2509 { "name": "computedStyle", "type": "array", "items": { "$ref
": "CSSComputedStyleProperty" }, "description": "Computed style for the specifie
d DOM node." } | 2518 { "name": "computedStyle", "type": "array", "items": { "$ref
": "CSSComputedStyleProperty" }, "description": "Computed style for the specifie
d DOM node." } |
2510 ], | 2519 ], |
2511 "description": "Returns the computed style for a DOM node identi
fied by <code>nodeId</code>." | 2520 "description": "Returns the computed style for a DOM node identi
fied by <code>nodeId</code>." |
2512 }, | 2521 }, |
2513 { | 2522 { |
| 2523 "name": "getPlatformFontsForNode", |
| 2524 "parameters": [ |
| 2525 { "name": "nodeId", "$ref": "DOM.NodeId" } |
| 2526 ], |
| 2527 "returns": [ |
| 2528 { "name": "fonts", "type": "array", "items": { "$ref": "Plat
formFontUsage"}, "description": "Usage statistics for every employed platform fo
nt." } |
| 2529 ], |
| 2530 "description": "Requests information about platform fonts which
we used to render child TextNodes in the given node.", |
| 2531 "hidden": true |
| 2532 }, |
| 2533 { |
2514 "name": "getAllStyleSheets", | 2534 "name": "getAllStyleSheets", |
2515 "returns": [ | 2535 "returns": [ |
2516 { "name": "headers", "type": "array", "items": { "$ref": "CS
SStyleSheetHeader" }, "description": "Descriptor entries for all available style
sheets." } | 2536 { "name": "headers", "type": "array", "items": { "$ref": "CS
SStyleSheetHeader" }, "description": "Descriptor entries for all available style
sheets." } |
2517 ], | 2537 ], |
2518 "description": "Returns metainfo entries for all known styleshee
ts." | 2538 "description": "Returns metainfo entries for all known styleshee
ts." |
2519 }, | 2539 }, |
2520 { | 2540 { |
2521 "name": "getStyleSheet", | 2541 "name": "getStyleSheet", |
2522 "parameters": [ | 2542 "parameters": [ |
2523 { "name": "styleSheetId", "$ref": "StyleSheetId" } | 2543 { "name": "styleSheetId", "$ref": "StyleSheetId" } |
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3859 "parameters": [ | 3879 "parameters": [ |
3860 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 3880 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
3861 ] | 3881 ] |
3862 }, | 3882 }, |
3863 { | 3883 { |
3864 "name": "tracingComplete" | 3884 "name": "tracingComplete" |
3865 } | 3885 } |
3866 ] | 3886 ] |
3867 }] | 3887 }] |
3868 } | 3888 } |
OLD | NEW |