Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index f69f70587dabb48645605aa7dffb18d720f55f95..fb9e605287ff807d39d47e3a84ba1e71977aa1f5 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -190,6 +190,19 @@ |
"hidden": true |
}, |
{ |
+ "id": "Viewport", |
+ "type": "object", |
+ "description": "Visible page viewport", |
+ "properties": [ |
+ { "name": "scrollX", "type": "number", "hidden": true, "description": "X scroll offset in CSS pixels." }, |
lushnikov
2014/06/26 20:21:46
I believe there's no need to specify "hidden" for
dgozman
2014/06/27 11:07:00
Done.
|
+ { "name": "scrollY", "type": "number", "hidden": true, "description": "Y scroll offset in CSS pixels." }, |
+ { "name": "contentsWidth", "type": "number", "hidden": true, "description": "Contents width in CSS pixels." }, |
+ { "name": "contentsHeight", "type": "number", "hidden": true, "description": "Contents height in CSS pixels." }, |
+ { "name": "pageScaleFactor", "type": "number", "hidden": true, "description": "Page scale factor." } |
+ ], |
+ "hidden": true |
+ }, |
+ { |
"id": "ScreencastFrameMetadata", |
"type": "object", |
"description": "Screencast frame metadata", |
@@ -648,6 +661,14 @@ |
], |
"hidden": true, |
"handlers": ["browser"] |
+ }, |
+ { |
+ "name": "viewportChanged", |
+ "description": "Fired when a visible page viewport has changed.", |
+ "parameters": [ |
+ { "name": "viewport", "$ref": "Viewport", "description": "Viewport description." } |
+ ], |
+ "hidden": true |
} |
] |
}, |