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

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: Fixes. Created 6 years, 9 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 3816 matching lines...) Expand 10 before | Expand all | Expand 10 after
3827 "id": "LayerId", 3827 "id": "LayerId",
3828 "type": "string", 3828 "type": "string",
3829 "description": "Unique RenderLayer identifier." 3829 "description": "Unique RenderLayer identifier."
3830 }, 3830 },
3831 { 3831 {
3832 "id": "SnapshotId", 3832 "id": "SnapshotId",
3833 "type": "string", 3833 "type": "string",
3834 "description": "Unique snapshot identifier." 3834 "description": "Unique snapshot identifier."
3835 }, 3835 },
3836 { 3836 {
3837 "id": "ScrollRect",
3838 "type": "object",
3839 "description": "Rectangle that should be scrolled on main thread .",
pfeldman 2014/02/28 07:43:43 Can you actually "scroll" a "rectangle"?
malch 2014/02/28 12:19:57 Done.
3840 "properties": [
3841 { "name": "rect", "$ref": "DOM.Rect", "description": "Rectan gle itself." },
3842 { "name": "type", "type": "string", "enum": ["RepaintsOnScro ll", "TouchEventHandler", "WheelEventHandler"], "description": "Reason for recta ngle to be scrolled on the main thread" }
3843 ]
3844 },
3845 {
3837 "id": "Layer", 3846 "id": "Layer",
3838 "type": "object", 3847 "type": "object",
3839 "description": "Information about a compositing layer.", 3848 "description": "Information about a compositing layer.",
3840 "properties": [ 3849 "properties": [
3841 { "name": "layerId", "$ref": "LayerId", "description": "The unique id for this layer." }, 3850 { "name": "layerId", "$ref": "LayerId", "description": "The unique id for this layer." },
3842 { "name": "parentLayerId", "$ref": "LayerId", "optional": tr ue, "description": "The id of parent (not present for root)." }, 3851 { "name": "parentLayerId", "$ref": "LayerId", "optional": tr ue, "description": "The id of parent (not present for root)." },
3843 { "name": "nodeId", "$ref": "DOM.NodeId", "optional": true, "description": "The id for the node associated with this layer." }, 3852 { "name": "nodeId", "$ref": "DOM.NodeId", "optional": true, "description": "The id for the node associated with this layer." },
3844 { "name": "offsetX", "type": "number", "description": "Offse t from parent layer, X coordinate." }, 3853 { "name": "offsetX", "type": "number", "description": "Offse t from parent layer, X coordinate." },
3845 { "name": "offsetY", "type": "number", "description": "Offse t from parent layer, X coordinate." }, 3854 { "name": "offsetY", "type": "number", "description": "Offse t from parent layer, X coordinate." },
3846 { "name": "width", "type": "number", "description": "Layer w idth." }, 3855 { "name": "width", "type": "number", "description": "Layer w idth." },
3847 { "name": "height", "type": "number", "description": "Layer height." }, 3856 { "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" }, 3857 { "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" }, 3858 { "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" }, 3859 { "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" }, 3860 { "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." }, 3861 { "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." } 3862 { "name": "invisible", "type": "boolean", "optional": true, "description": "Set if layer is not visible." },
3863 { "name": "scrollRects", "type": "array", "items": { "$ref": "ScrollRect"}, "optional": true, "description": "Rectangles scrolling on main t hread only."}
3854 ] 3864 ]
3855 }, 3865 },
3856 { 3866 {
3857 "id": "PaintProfile", 3867 "id": "PaintProfile",
3858 "type": "array", 3868 "type": "array",
3859 "description": "Array of timings, one per paint step.", 3869 "description": "Array of timings, one per paint step.",
3860 "items": { 3870 "items": {
3861 "type": "number", 3871 "type": "number",
3862 "description": "A time in seconds since the end of previous step (for the first step, time since painting started)" 3872 "description": "A time in seconds since the end of previous step (for the first step, time since painting started)"
3863 } 3873 }
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
4044 { 4054 {
4045 "name": "dataAvailable", 4055 "name": "dataAvailable",
4046 "parameters": [ 4056 "parameters": [
4047 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4057 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4048 ], 4058 ],
4049 "handlers": ["browser", "frontend"] 4059 "handlers": ["browser", "frontend"]
4050 } 4060 }
4051 ] 4061 ]
4052 }] 4062 }]
4053 } 4063 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698