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 3832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3843 }, | 3843 }, |
3844 { | 3844 { |
3845 "name": "getLayers", | 3845 "name": "getLayers", |
3846 "parameters": [ | 3846 "parameters": [ |
3847 { "name": "nodeId", "optional": true, "$ref": "DOM.NodeId",
"description": "Root of the subtree for which we want to gather layers (return e
ntire tree if not specified)" } | 3847 { "name": "nodeId", "optional": true, "$ref": "DOM.NodeId",
"description": "Root of the subtree for which we want to gather layers (return e
ntire tree if not specified)" } |
3848 ], | 3848 ], |
3849 "description": "Returns the layer tree structure of the current
page.", | 3849 "description": "Returns the layer tree structure of the current
page.", |
3850 "returns": [ | 3850 "returns": [ |
3851 { "name": "layers", "type": "array", "items": { "$ref": "Lay
er" }, "description": "Child layers." } | 3851 { "name": "layers", "type": "array", "items": { "$ref": "Lay
er" }, "description": "Child layers." } |
3852 ] | 3852 ] |
| 3853 }, |
| 3854 { |
| 3855 "name": "compositingReasons", |
| 3856 "parameters": [ |
| 3857 { "name": "layerId", "$ref": "LayerId", "description": "The
id of the layer for which we want to get the reasons it was composited." } |
| 3858 ], |
| 3859 "description": "Provides the reasons why the given layer was com
posited.", |
| 3860 "returns": [ |
| 3861 { "name": "compositingReasons", "type": "array", "items": {
"type": "string" }, "description": "A list of strings specifying reasons for the
given layer to become composited." } |
| 3862 ] |
3853 } | 3863 } |
3854 ], | 3864 ], |
3855 "events": [ | 3865 "events": [ |
3856 { | 3866 { |
3857 "name": "layerTreeDidChange" | 3867 "name": "layerTreeDidChange" |
3858 } | 3868 } |
3859 ] | 3869 ] |
3860 }, | 3870 }, |
3861 { | 3871 { |
3862 "domain": "Tracing", | 3872 "domain": "Tracing", |
(...skipping 17 matching lines...) Expand all Loading... |
3880 "parameters": [ | 3890 "parameters": [ |
3881 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 3891 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
3882 ] | 3892 ] |
3883 }, | 3893 }, |
3884 { | 3894 { |
3885 "name": "tracingComplete" | 3895 "name": "tracingComplete" |
3886 } | 3896 } |
3887 ] | 3897 ] |
3888 }] | 3898 }] |
3889 } | 3899 } |
OLD | NEW |