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..77e838039dff4a9d5eee75cb0810e768ec7614c1 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", |
|
dgozman
2017/03/08 19:50:11
I'd like to see a document or description in the b
jzfeng
2017/03/13 09:09:15
I added a doc https://docs.google.com/a/chromium.
|
| + "description": "Maximize the desktop window.", |
| + "experimental": true |
| + }, |
| + { |
| + "name": "minimizeWindow", |
|
dgozman
2017/03/08 19:50:12
- I think we need new domain "Browser" which will
jzfeng
2017/03/13 09:09:15
I don't know what will be different for multiple b
|
| + "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.", |
|
dgozman
2017/03/08 19:50:12
Is this supposed to work on mobile devices?
jzfeng
2017/03/13 09:09:15
No, it isn't.
|
| + "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": [ |