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