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 3827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3838 "id": "LayerId", | 3838 "id": "LayerId", |
3839 "type": "string", | 3839 "type": "string", |
3840 "description": "Unique RenderLayer identifier." | 3840 "description": "Unique RenderLayer identifier." |
3841 }, | 3841 }, |
3842 { | 3842 { |
3843 "id": "SnapshotId", | 3843 "id": "SnapshotId", |
3844 "type": "string", | 3844 "type": "string", |
3845 "description": "Unique snapshot identifier." | 3845 "description": "Unique snapshot identifier." |
3846 }, | 3846 }, |
3847 { | 3847 { |
| 3848 "id": "ScrollRect", |
| 3849 "type": "object", |
| 3850 "description": "Rectangle where scrolling happens on the main th
read.", |
| 3851 "properties": [ |
| 3852 { "name": "rect", "$ref": "DOM.Rect", "description": "Rectan
gle itself." }, |
| 3853 { "name": "type", "type": "string", "enum": ["RepaintsOnScro
ll", "TouchEventHandler", "WheelEventHandler"], "description": "Reason for recta
ngle to force scrolling on the main thread" } |
| 3854 ] |
| 3855 }, |
| 3856 { |
3848 "id": "Layer", | 3857 "id": "Layer", |
3849 "type": "object", | 3858 "type": "object", |
3850 "description": "Information about a compositing layer.", | 3859 "description": "Information about a compositing layer.", |
3851 "properties": [ | 3860 "properties": [ |
3852 { "name": "layerId", "$ref": "LayerId", "description": "The
unique id for this layer." }, | 3861 { "name": "layerId", "$ref": "LayerId", "description": "The
unique id for this layer." }, |
3853 { "name": "parentLayerId", "$ref": "LayerId", "optional": tr
ue, "description": "The id of parent (not present for root)." }, | 3862 { "name": "parentLayerId", "$ref": "LayerId", "optional": tr
ue, "description": "The id of parent (not present for root)." }, |
3854 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "opt
ional": true, "description": "The backend id for the node associated with this l
ayer." }, | 3863 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "opt
ional": true, "description": "The backend id for the node associated with this l
ayer." }, |
3855 { "name": "offsetX", "type": "number", "description": "Offse
t from parent layer, X coordinate." }, | 3864 { "name": "offsetX", "type": "number", "description": "Offse
t from parent layer, X coordinate." }, |
3856 { "name": "offsetY", "type": "number", "description": "Offse
t from parent layer, X coordinate." }, | 3865 { "name": "offsetY", "type": "number", "description": "Offse
t from parent layer, X coordinate." }, |
3857 { "name": "width", "type": "number", "description": "Layer w
idth." }, | 3866 { "name": "width", "type": "number", "description": "Layer w
idth." }, |
3858 { "name": "height", "type": "number", "description": "Layer
height." }, | 3867 { "name": "height", "type": "number", "description": "Layer
height." }, |
3859 { "name": "transform", "type": "array", "items": { "type": "
number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra
nsformation matrix for layer, default is identity matrix" }, | 3868 { "name": "transform", "type": "array", "items": { "type": "
number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra
nsformation matrix for layer, default is identity matrix" }, |
3860 { "name": "anchorX", "type": "number", "optional": true, "de
scription": "Transform anchor point X, absent if no transform specified" }, | 3869 { "name": "anchorX", "type": "number", "optional": true, "de
scription": "Transform anchor point X, absent if no transform specified" }, |
3861 { "name": "anchorY", "type": "number", "optional": true, "de
scription": "Transform anchor point Y, absent if no transform specified" }, | 3870 { "name": "anchorY", "type": "number", "optional": true, "de
scription": "Transform anchor point Y, absent if no transform specified" }, |
3862 { "name": "anchorZ", "type": "number", "optional": true, "de
scription": "Transform anchor point Z, absent if no transform specified" }, | 3871 { "name": "anchorZ", "type": "number", "optional": true, "de
scription": "Transform anchor point Z, absent if no transform specified" }, |
3863 { "name": "paintCount", "type": "integer", "description": "I
ndicates how many time this layer has painted." }, | 3872 { "name": "paintCount", "type": "integer", "description": "I
ndicates how many time this layer has painted." }, |
3864 { "name": "invisible", "type": "boolean", "optional": true,
"description": "Set if layer is not visible." } | 3873 { "name": "invisible", "type": "boolean", "optional": true,
"description": "Set if layer is not visible." }, |
| 3874 { "name": "scrollRects", "type": "array", "items": { "$ref":
"ScrollRect"}, "optional": true, "description": "Rectangles scrolling on main t
hread only."} |
3865 ] | 3875 ] |
3866 }, | 3876 }, |
3867 { | 3877 { |
3868 "id": "PaintProfile", | 3878 "id": "PaintProfile", |
3869 "type": "array", | 3879 "type": "array", |
3870 "description": "Array of timings, one per paint step.", | 3880 "description": "Array of timings, one per paint step.", |
3871 "items": { | 3881 "items": { |
3872 "type": "number", | 3882 "type": "number", |
3873 "description": "A time in seconds since the end of previous
step (for the first step, time since painting started)" | 3883 "description": "A time in seconds since the end of previous
step (for the first step, time since painting started)" |
3874 } | 3884 } |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4064 { | 4074 { |
4065 "name": "dataAvailable", | 4075 "name": "dataAvailable", |
4066 "parameters": [ | 4076 "parameters": [ |
4067 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4077 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4068 ], | 4078 ], |
4069 "handlers": ["browser", "frontend"] | 4079 "handlers": ["browser", "frontend"] |
4070 } | 4080 } |
4071 ] | 4081 ] |
4072 }] | 4082 }] |
4073 } | 4083 } |
OLD | NEW |