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

Unified 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: Style fixes. Moved refreshing logic from model to view. 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index ff591086e30798234c392b9e92fbe7e00ad16ecf..5528e9be3db8c6cce2f7d09f767bca846bc39b07 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -3851,6 +3851,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." }
+ ]
+ },
+ {
"id": "PaintProfile",
"type": "array",
"description": "Array of timings, one per paint step.",
@@ -3924,7 +3937,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." }
]
},
{
« Source/devtools/front_end/Layers3DView.js ('K') | « Source/devtools/front_end/Layers3DView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698