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 cf7c9d0d2ef540953d515c60dab978c5a55f5e6f..0d879762aa2bb74ed6a16f4dfb50de5e50f2cc24 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -758,6 +758,15 @@ |
| ] |
| }, |
| { |
| + "name": "setVisibleSize", |
| + "description": "Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.", |
| + "parameters": [ |
| + { "name": "width", "type": "integer", "description": "Frame width (DIP)." }, |
|
Sami
2016/08/22 13:42:12
nit: Visible width/height instead of frame width/h
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP)." } |
| + ], |
| + "handlers": ["browser"] |
| + }, |
| + { |
| "name": "setScriptExecutionDisabled", |
| "description": "Switches script execution in the page.", |
| "parameters": [ |