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

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: Fixes. 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 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."}
]
},
{

Powered by Google App Engine
This is Rietveld 408576698