| 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..bf5d8a46bfad7698a4cc5134e2d8fc05c3513394 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -4319,8 +4319,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": [
|
| @@ -4348,6 +4348,28 @@
|
| "handlers": ["browser"]
|
| },
|
| {
|
| + "name": "getFrameSize",
|
| + "description": "Returns the size of the frame of a target.",
|
| + "parameters": [
|
| + { "name": "targetId", "$ref": "TargetID" }
|
| + ],
|
| + "returns": [
|
| + { "name": "width", "type": "integer", "description": "Frame width (DIP)." },
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP)." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| + "name": "setFrameSize",
|
| + "description": "Resize the frame of a target. Note that this does not affect the frame's container (e.g. browser window).",
|
| + "parameters": [
|
| + { "name": "targetId", "$ref": "TargetID" },
|
| + { "name": "width", "type": "integer", "description": "Frame width (DIP)." },
|
| + { "name": "height", "type": "integer", "description": "Frame height (DIP)." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| "name": "attach",
|
| "description": "Attaches to the target with given id.",
|
| "parameters": [
|
|
|