| 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 6ec703ad719c743084bfdc478ba71d75483c16cc..48afcf3706be8d64bc4271ba033ea8e0b11713cc 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -523,6 +523,46 @@
|
| { "name": "visualViewport", "$ref": "VisualViewport", "description": "Metrics relating to the visual viewport." },
|
| { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."}
|
| ]
|
| + },
|
| + {
|
| + "name": "maximizeWindow",
|
| + "description": "Maximize the desktop window.",
|
| + "experimental": true
|
| + },
|
| + {
|
| + "name": "minimizeWindow",
|
| + "description": "Maximize the desktop window.",
|
| + "experimental": true
|
| + },
|
| + {
|
| + "name": "setWindowFullscreen",
|
| + "description": "Change the desktop window fullscreen state. Default to true.",
|
| + "parameters": [
|
| + { "name": "fullscreen", "type": "boolean", "optional": true}
|
| + ],
|
| + "experimental": true
|
| + },
|
| + {
|
| + "name": "setWindowBounds",
|
| + "parameters": [
|
| + { "name": "left", "type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."},
|
| + { "name": "top", "type": "integer", "optional": true, "description": "The offset from the top edge of the screen to move the window to in pixels."},
|
| + { "name": "width", "type": "integer", "optional": true, "description": "The width to resize the window to in pixels."},
|
| + { "name": "height", "type": "integer", "optional": true, "description": "The height to resize the window to in pixels."}
|
| + ],
|
| + "description": "Set position and size of the desktop window.",
|
| + "experimental": true
|
| + },
|
| + {
|
| + "name": "getWindowBounds",
|
| + "description": "Get position and size of the desktop window.",
|
| + "experimental": true,
|
| + "returns": [
|
| + { "name": "left", "type": "integer", "description": "The offset from the left edge of the screen to move the window to in pixels."},
|
| + { "name": "top", "type": "integer", "description": "The offset from the top edge of the screen to move the window to in pixels."},
|
| + { "name": "width", "type": "integer", "description": "The width to resize the window to in pixels."},
|
| + { "name": "height", "type": "integer", "description": "The height to resize the window to in pixels."}
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|