Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index cb512a4274c835ec3dabf794e39245b7e0c04e98..5eece924e29f30a951bc64702eea5f6172341475 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -3854,6 +3854,19 @@ |
] |
}, |
{ |
+ "id": "ScrollRect", |
pfeldman
2014/02/26 11:49:40
Can ScrollRect contain Rect + type instead?
malch
2014/02/27 13:30:53
Done.
|
+ "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." }, |
pfeldman
2014/02/26 11:49:40
Instead of this binding, could you make it a part
malch
2014/02/27 13:30:53
Done.
|
+ { "name": "type", "type": "string", "enum": ["RepaintsOnScroll", "TouchEventHandler", "WheelEventHandler"], "description": "Reason for rectangle to be scrolled on the main thread" } |
+ ] |
+ }, |
+ { |
"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." } |
] |
}, |
{ |