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

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: Fixed layer nodeId issue. 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 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 2fa374b74bb5e98f1bafe6dd4a5c255fc5b3a816..dfa408a1b6ff4e5d9f9252abe48dbfe4fb5ec95d 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -3845,6 +3845,15 @@
"description": "Unique snapshot identifier."
},
{
+ "id": "ScrollRect",
+ "type": "object",
+ "description": "Rectangle where scrolling happens on the main thread.",
+ "properties": [
+ { "name": "rect", "$ref": "DOM.Rect", "description": "Rectangle itself." },
+ { "name": "type", "type": "string", "enum": ["RepaintsOnScroll", "TouchEventHandler", "WheelEventHandler"], "description": "Reason for rectangle to force scrolling on the main thread" }
+ ]
+ },
+ {
"id": "Layer",
"type": "object",
"description": "Information about a compositing layer.",
@@ -3861,7 +3870,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."}
]
},
{
« Source/devtools/front_end/layersPanel.css ('K') | « Source/devtools/front_end/layersPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698