Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1056)

Side by Side Diff: Source/devtools/protocol.json

Issue 166273018: Added showing slow scroll rectangles in Layers panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Few more fixes. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 3836 matching lines...) Expand 10 before | Expand all | Expand 10 after
3847 { "name": "height", "type": "number", "description": "Layer height." }, 3847 { "name": "height", "type": "number", "description": "Layer height." },
3848 { "name": "transform", "type": "array", "items": { "type": " number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra nsformation matrix for layer, default is identity matrix" }, 3848 { "name": "transform", "type": "array", "items": { "type": " number" }, "minItems": 16, "maxItems": 16, "optional": true, "description": "Tra nsformation matrix for layer, default is identity matrix" },
3849 { "name": "anchorX", "type": "number", "optional": true, "de scription": "Transform anchor point X, absent if no transform specified" }, 3849 { "name": "anchorX", "type": "number", "optional": true, "de scription": "Transform anchor point X, absent if no transform specified" },
3850 { "name": "anchorY", "type": "number", "optional": true, "de scription": "Transform anchor point Y, absent if no transform specified" }, 3850 { "name": "anchorY", "type": "number", "optional": true, "de scription": "Transform anchor point Y, absent if no transform specified" },
3851 { "name": "anchorZ", "type": "number", "optional": true, "de scription": "Transform anchor point Z, absent if no transform specified" }, 3851 { "name": "anchorZ", "type": "number", "optional": true, "de scription": "Transform anchor point Z, absent if no transform specified" },
3852 { "name": "paintCount", "type": "integer", "description": "I ndicates how many time this layer has painted." }, 3852 { "name": "paintCount", "type": "integer", "description": "I ndicates how many time this layer has painted." },
3853 { "name": "invisible", "type": "boolean", "optional": true, "description": "Set if layer is not visible." } 3853 { "name": "invisible", "type": "boolean", "optional": true, "description": "Set if layer is not visible." }
3854 ] 3854 ]
3855 }, 3855 },
3856 { 3856 {
3857 "id": "ScrollRect",
3858 "type": "object",
3859 "description": "Rectangle that should be scrolled on main thread .",
3860 "properties": [
3861 { "name": "x", "type": "number", "description": "Rectangle x coordinate." },
3862 { "name": "y", "type": "number", "description": "Rectangle y coordinate." },
3863 { "name": "width", "type": "number", "description": "Rectang le width." },
3864 { "name": "height", "type": "number", "description": "Rectan gle height." },
3865 { "name": "layerId", "$ref": "LayerId", "description": "Pare nt layer id." },
3866 { "name": "type", "type": "string", "enum": ["NonFastScrolla ble", "TouchEventHandler", "WheelEventHandler"], "description": "Rectangle type. " }
caseq 2014/02/20 16:30:45 They're all non-fast scrollable, so this looks a b
malch 2014/02/21 12:22:15 Done.
3867 ]
3868 },
3869 {
3857 "id": "PaintProfile", 3870 "id": "PaintProfile",
3858 "type": "array", 3871 "type": "array",
3859 "description": "Array of timings, one per paint step.", 3872 "description": "Array of timings, one per paint step.",
3860 "items": { 3873 "items": {
3861 "type": "number", 3874 "type": "number",
3862 "description": "A time in seconds since the end of previous step (for the first step, time since painting started)" 3875 "description": "A time in seconds since the end of previous step (for the first step, time since painting started)"
3863 } 3876 }
3864 } 3877 }
3865 ], 3878 ],
3866 "commands": [ 3879 "commands": [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
3920 "description": "Replays the layer snapshot and returns the resul ting bitmap.", 3933 "description": "Replays the layer snapshot and returns the resul ting bitmap.",
3921 "returns": [ 3934 "returns": [
3922 { "name": "dataURL", "type": "string", "description": "A dat a: URL for resulting image." } 3935 { "name": "dataURL", "type": "string", "description": "A dat a: URL for resulting image." }
3923 ] 3936 ]
3924 } 3937 }
3925 ], 3938 ],
3926 "events": [ 3939 "events": [
3927 { 3940 {
3928 "name": "layerTreeDidChange", 3941 "name": "layerTreeDidChange",
3929 "parameters": [ 3942 "parameters": [
3930 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "optional": true, "description": "Layer tree, absent if not in the comspo siting mode." } 3943 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "optional": true, "description": "Layer tree, absent if not in the comspo siting mode." },
3944 { "name": "scrollRects", "type": "array", "items": { "$ref": "ScrollRect" }, "optional": true, "description": "Rectangles scrolling on main thread only." }
3931 ] 3945 ]
3932 }, 3946 },
3933 { 3947 {
3934 "name": "layerPainted", 3948 "name": "layerPainted",
3935 "parameters": [ 3949 "parameters": [
3936 { "name": "layerId", "$ref": "LayerId", "description": "The id of the painted layer." }, 3950 { "name": "layerId", "$ref": "LayerId", "description": "The id of the painted layer." },
3937 { "name": "clip", "$ref": "DOM.Rect", "description": "Clip r ectangle." } 3951 { "name": "clip", "$ref": "DOM.Rect", "description": "Clip r ectangle." }
3938 ] 3952 ]
3939 } 3953 }
3940 ] 3954 ]
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
4044 { 4058 {
4045 "name": "dataAvailable", 4059 "name": "dataAvailable",
4046 "parameters": [ 4060 "parameters": [
4047 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4061 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4048 ], 4062 ],
4049 "handlers": ["browser", "frontend"] 4063 "handlers": ["browser", "frontend"]
4050 } 4064 }
4051 ] 4065 ]
4052 }] 4066 }]
4053 } 4067 }
OLDNEW
« Source/devtools/front_end/layersPanel.css ('K') | « Source/devtools/front_end/layersPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698