Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 05050620c5e7d8a741a6e5f94a99852ae7d11ce3..22282cf2e9f6869f611c39365da311f15ff507ba 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -3854,6 +3854,19 @@ |
] |
}, |
{ |
+ "id": "ScrollRect", |
+ "type": "object", |
+ "description": "Rectangle that should be scrolled on main thread.", |
+ "properties": [ |
+ { "name": "x", "type": "number", "description": "Rectangle x coordinate." }, |
+ { "name": "y", "type": "number", "description": "Rectangle y coordinate." }, |
+ { "name": "width", "type": "number", "description": "Rectangle width." }, |
+ { "name": "height", "type": "number", "description": "Rectangle height." }, |
+ { "name": "layerId", "$ref": "LayerId", "description": "Parent layer id." }, |
+ { "name": "type", "type": "string", "enum": ["NonFastScrollable", "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.
|
+ ] |
+ }, |
+ { |
"id": "PaintProfile", |
"type": "array", |
"description": "Array of timings, one per paint step.", |
@@ -3927,7 +3940,8 @@ |
{ |
"name": "layerTreeDidChange", |
"parameters": [ |
- { "name": "layers", "type": "array", "items": { "$ref": "Layer" }, "optional": true, "description": "Layer tree, absent if not in the comspositing mode." } |
+ { "name": "layers", "type": "array", "items": { "$ref": "Layer" }, "optional": true, "description": "Layer tree, absent if not in the comspositing mode." }, |
+ { "name": "scrollRects", "type": "array", "items": { "$ref": "ScrollRect" }, "optional": true, "description": "Rectangles scrolling on main thread only." } |
] |
}, |
{ |