Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
| diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| index 70690810f21c812eab6cdcd4aa245ec98356d109..6340480595909de400bacad052ca9bb5a46fab5e 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -419,7 +419,8 @@ |
| "description": "Capture page screenshot.", |
| "parameters": [ |
| { "name": "format", "type": "string", "optional": true, "enum": ["jpeg", "png"], "description": "Image compression format (defaults to png)." }, |
| - { "name": "quality", "type": "integer", "optional": true, "description": "Compression quality from range [0..100] (jpeg only)." } |
| + { "name": "quality", "type": "integer", "optional": true, "description": "Compression quality from range [0..100] (jpeg only)." }, |
| + { "name": "fromSurface", "type": "boolean", "optional": true, "description": "Capture the screenshot from the surface, rather than the view. Defaults to false." } |
|
dgozman
2017/03/08 19:21:36
Please mark it "experimental": true
dvallet
2017/03/09 06:19:47
Done.
|
| ], |
| "returns": [ |
| { "name": "data", "type": "string", "description": "Base64-encoded image data." } |