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 3791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3802 { "name": "offsetX", "type": "number", "description": "Offse t from parent layer, X coordinate." }, | 3802 { "name": "offsetX", "type": "number", "description": "Offse t from parent layer, X coordinate." }, |
3803 { "name": "offsetY", "type": "number", "description": "Offse t from parent layer, X coordinate." }, | 3803 { "name": "offsetY", "type": "number", "description": "Offse t from parent layer, X coordinate." }, |
3804 { "name": "width", "type": "number", "description": "Layer w idth." }, | 3804 { "name": "width", "type": "number", "description": "Layer w idth." }, |
3805 { "name": "height", "type": "number", "description": "Layer height." }, | 3805 { "name": "height", "type": "number", "description": "Layer height." }, |
3806 { "name": "transform", "type": "array", "items": { "type": " number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra nsformation matrix for layer, default is identity matrix" }, | 3806 { "name": "transform", "type": "array", "items": { "type": " number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra nsformation matrix for layer, default is identity matrix" }, |
3807 { "name": "anchorX", "type": "number", "optional": true, "de scription": "Transform anchor point X, absent if no transform specified" }, | 3807 { "name": "anchorX", "type": "number", "optional": true, "de scription": "Transform anchor point X, absent if no transform specified" }, |
3808 { "name": "anchorY", "type": "number", "optional": true, "de scription": "Transform anchor point Y, absent if no transform specified" }, | 3808 { "name": "anchorY", "type": "number", "optional": true, "de scription": "Transform anchor point Y, absent if no transform specified" }, |
3809 { "name": "anchorZ", "type": "number", "optional": true, "de scription": "Transform anchor point Z, absent if no transform specified" }, | 3809 { "name": "anchorZ", "type": "number", "optional": true, "de scription": "Transform anchor point Z, absent if no transform specified" }, |
3810 { "name": "paintCount", "type": "integer", "description": "I ndicates how many time this layer has painted." } | 3810 { "name": "paintCount", "type": "integer", "description": "I ndicates how many time this layer has painted." } |
3811 ] | 3811 ] |
3812 }, | |
3813 { | |
3814 "id": "CompositingReasons", | |
3815 "type": "object", | |
3816 "description": "An object containing the reasons why the layer w as composited as properties.", | |
3817 "properties": [ | |
3818 { "name": "transform3D", "type": "boolean", "optional": true , "description": "Composition due to association with an element with a CSS 3D t ransform." }, | |
pfeldman
2013/08/22 16:49:54
No! Please make this a dictionary!
| |
3819 { "name": "video", "type": "boolean", "optional": true, "des cription": "Composition due to association with a <video> element." }, | |
3820 { "name": "canvas", "type": "boolean", "optional": true, "de scription": "Composition due to the element being a <canvas> element." }, | |
3821 { "name": "plugin", "type": "boolean", "optional": true, "de scription": "Composition due to association with a plugin." }, | |
3822 { "name": "iFrame", "type": "boolean", "optional": true, "de scription": "Composition due to association with an <iframe> element." }, | |
3823 { "name": "backfaceVisibilityHidden", "type": "boolean", "op tional": true, "description": "Composition due to association with an element wi th a \"backface-visibility: hidden\" style." }, | |
3824 { "name": "animation", "type": "boolean", "optional": true, "description": "Composition due to association with an animated element." }, | |
3825 { "name": "filters", "type": "boolean", "optional": true, "d escription": "Composition due to association with an element with CSS filters ap plied." }, | |
3826 { "name": "positionFixed", "type": "boolean", "optional": tr ue, "description": "Composition due to association with an element with a \"posi tion: fixed\" style." }, | |
3827 { "name": "positionSticky", "type": "boolean", "optional": t rue, "description": "Composition due to association with an element with a \"pos ition: sticky\" style." }, | |
3828 { "name": "overflowScrollingTouch", "type": "boolean", "opti onal": true, "description": "Composition due to association with an element with a \"overflow-scrolling: touch\" style." }, | |
3829 { "name": "blending", "type": "boolean", "optional": true, " description": "Composition due to association with an element that has blend mod e other than \"normal\"." }, | |
3830 { "name": "assumedOverlap", "type": "boolean", "optional": t rue, "description": "Composition due to association with an element that may ove rlap some of its composited children." }, | |
3831 { "name": "overlap", "type": "boolean", "optional": true, "d escription": "Composition due to association with an element overlapping other c omposited elements." }, | |
3832 { "name": "negativeZIndexChildren", "type": "boolean", "opti onal": true, "description": "Composition due to association with an element with descendants that have a negative z-index." }, | |
3833 { "name": "transformWithCompositedDescendants", "type": "boo lean", "optional": true, "description": "Composition due to association with an element with composited descendants." }, | |
3834 { "name": "opacityWithCompositedDescendants", "type": "boole an", "optional": true, "description": "Composition due to association with an el ement with opacity applied and composited descendants." }, | |
3835 { "name": "maskWithCompositedDescendants", "type": "boolean" , "optional": true, "description": "Composition due to association with a masked element and composited descendants." }, | |
3836 { "name": "reflectionWithCompositedDescendants", "type": "bo olean", "optional": true, "description": "Composition due to association with an element with a reflection and composited descendants." }, | |
3837 { "name": "filterWithCompositedDescendants", "type": "boolea n", "optional": true, "description": "Composition due to association with an ele ment with CSS filters applied and composited descendants." }, | |
3838 { "name": "blendingWithCompositedDescendants", "type": "bool ean", "optional": true, "description": "Composition due to association with an e lement with CSS blending applied and composited descendants." }, | |
3839 { "name": "clipsCompositingDescendants", "type": "boolean", "optional": true, "description": "Composition due to association with an element clipping compositing descendants." }, | |
3840 { "name": "perspective", "type": "boolean", "optional": true , "description": "Composition due to association with an element with perspectiv e applied." }, | |
3841 { "name": "preserve3D", "type": "boolean", "optional": true, "description": "Composition due to association with an element with a \"transfo rm-style: preserve-3d\" style." }, | |
3842 { "name": "root", "type": "boolean", "optional": true, "desc ription": "Root layer." }, | |
3843 { "name": "layerForClip", "type": "boolean", "optional": tru e, "description": "Layer for clip." }, | |
3844 { "name": "layerForScrollbar", "type": "boolean", "optional" : true, "description": "Layer for scrollbar."}, | |
3845 { "name": "layerForScrollingContainer", "type": "boolean", " optional": true, "description": "Layer for scrolling container." }, | |
3846 { "name": "layerForForeground", "type": "boolean", "optional ": true, "description": "Layer for foreground." }, | |
3847 { "name": "layerForBackground", "type": "boolean", "optional ": true, "description": "Layer for background." }, | |
3848 { "name": "layerForMask", "type": "boolean", "optional": tru e, "description": "Layer for mask." }, | |
3849 { "name": "layerForVideoOverlay", "type": "boolean", "option al": true, "description": "Layer for video overlay." } | |
3850 ] | |
3851 | |
3812 } | 3852 } |
3813 ], | 3853 ], |
3814 "commands": [ | 3854 "commands": [ |
3815 { | 3855 { |
3816 "name": "enable", | 3856 "name": "enable", |
3817 "description": "Enables compositing tree inspection." | 3857 "description": "Enables compositing tree inspection." |
3818 }, | 3858 }, |
3819 { | 3859 { |
3820 "name": "disable", | 3860 "name": "disable", |
3821 "description": "Disables compositing tree inspection." | 3861 "description": "Disables compositing tree inspection." |
3822 }, | 3862 }, |
3823 { | 3863 { |
3824 "name": "getLayers", | 3864 "name": "getLayers", |
3825 "parameters": [ | 3865 "parameters": [ |
3826 { "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)" } | 3866 { "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)" } |
3827 ], | 3867 ], |
3828 "description": "Returns the layer tree structure of the current page.", | 3868 "description": "Returns the layer tree structure of the current page.", |
3829 "returns": [ | 3869 "returns": [ |
3830 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "description": "Child layers." } | 3870 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "description": "Child layers." } |
3831 ] | 3871 ] |
3872 }, | |
3873 { | |
3874 "name": "reasonsForCompositingLayer", | |
pfeldman
2013/08/22 16:49:54
compositingReasons
| |
3875 "parameters": [ | |
3876 { "name": "layerId", "$ref": "LayerId", "description": "The id of the layer for which we want to get the reasons it was composited." } | |
3877 ], | |
3878 "description": "Provides the reasons why the given layer was com posited.", | |
3879 "returns": [ | |
3880 { "name": "compositingReasons", "$ref": "CompositingReasons" , "description": "An object containing the reasons why the layer was composited as properties." } | |
3881 ] | |
3832 } | 3882 } |
3833 ], | 3883 ], |
3834 "events": [ | 3884 "events": [ |
3835 { | 3885 { |
3836 "name": "layerTreeDidChange" | 3886 "name": "layerTreeDidChange" |
3837 } | 3887 } |
3838 ] | 3888 ] |
3839 }, | 3889 }, |
3840 { | 3890 { |
3841 "domain": "Tracing", | 3891 "domain": "Tracing", |
(...skipping 17 matching lines...) Expand all Loading... | |
3859 "parameters": [ | 3909 "parameters": [ |
3860 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 3910 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
3861 ] | 3911 ] |
3862 }, | 3912 }, |
3863 { | 3913 { |
3864 "name": "tracingComplete" | 3914 "name": "tracingComplete" |
3865 } | 3915 } |
3866 ] | 3916 ] |
3867 }] | 3917 }] |
3868 } | 3918 } |
OLD | NEW |