Chromium Code Reviews| Index: Source/devtools/protocol.json |
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
| index 0e54f2b3da35b52a508ec9a0f4afe9fc43bd15f8..71cc4dcc951797ae42a314f0a6ffb191cdd362ff 100644 |
| --- a/Source/devtools/protocol.json |
| +++ b/Source/devtools/protocol.json |
| @@ -3834,6 +3834,15 @@ |
| "description": "Unique snapshot identifier." |
| }, |
| { |
| + "id": "ScrollRect", |
| + "type": "object", |
| + "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.
|
| + "properties": [ |
| + { "name": "rect", "$ref": "DOM.Rect", "description": "Rectangle itself." }, |
| + { "name": "type", "type": "string", "enum": ["RepaintsOnScroll", "TouchEventHandler", "WheelEventHandler"], "description": "Reason for rectangle to be scrolled on the main thread" } |
| + ] |
| + }, |
| + { |
| "id": "Layer", |
| "type": "object", |
| "description": "Information about a compositing layer.", |
| @@ -3850,7 +3859,8 @@ |
| { "name": "anchorY", "type": "number", "optional": true, "description": "Transform anchor point Y, absent if no transform specified" }, |
| { "name": "anchorZ", "type": "number", "optional": true, "description": "Transform anchor point Z, absent if no transform specified" }, |
| { "name": "paintCount", "type": "integer", "description": "Indicates how many time this layer has painted." }, |
| - { "name": "invisible", "type": "boolean", "optional": true, "description": "Set if layer is not visible." } |
| + { "name": "invisible", "type": "boolean", "optional": true, "description": "Set if layer is not visible." }, |
| + { "name": "scrollRects", "type": "array", "items": { "$ref": "ScrollRect"}, "optional": true, "description": "Rectangles scrolling on main thread only."} |
| ] |
| }, |
| { |