| 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 d4421424d10881a3da18992ade69f5798072a1be..5173f111fcf25aa6119435cee552b19498dc2014 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -758,6 +758,24 @@
|
| ]
|
| },
|
| {
|
| + "name": "getFrameSize",
|
| + "description": "Returns the size of the target's (non-overridden) frame.",
|
| + "returns": [
|
| + { "name": "width", "type": "integer", "description": "Frame width (DIP)." },
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP)." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| + "name": "setFrameSize",
|
| + "description": "Resize the target's frame. Note that this does not affect the frame's container (e.g. browser window). Not supported on Android.",
|
| + "parameters": [
|
| + { "name": "width", "type": "integer", "description": "Frame width (DIP)." },
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP)." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| "name": "setScriptExecutionDisabled",
|
| "description": "Switches script execution in the page.",
|
| "parameters": [
|
| @@ -4319,8 +4337,8 @@
|
| "description": "Creates a new page.",
|
| "parameters": [
|
| { "name": "url", "type": "string", "description": "The initial URL the page will be navigated to." },
|
| - { "name": "width", "type": "integer", "description": "Window width (headless chrome only).", "optional": true },
|
| - { "name": "height", "type": "integer", "description": "Window height (headless chrome only).", "optional": true },
|
| + { "name": "width", "type": "integer", "description": "Frame width (DIP).", "optional": true },
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP).", "optional": true },
|
| { "name": "browserContextId", "$ref": "BrowserContextID", "description": "The browser context to create the page in (headless chrome only).", "optional": true }
|
| ],
|
| "returns": [
|
|
|