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 c46593db9d199d68da02c59537e87a027d20da84..66b454d88a2c097a3e3587e34606c7e8d7b5e653 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -3458,7 +3458,7 @@ |
"name": "sendMessageToTarget", |
"description": "Sends protocol message to the target with given id.", |
"parameters": [ |
- { "name": "targetId", "$ref": "TargetID" }, |
+ { "name": "targetId", "type": "string" }, |
{ "name": "message", "type": "string" } |
] |
}, |
@@ -4593,65 +4593,5 @@ |
] |
} |
] |
- }, |
- { |
- "domain": "Browser", |
- "description": "The Browser domain defines methods and events for browser managing.", |
- "experimental": true, |
- "types": [ |
- { |
- "id": "WindowID", |
- "type": "integer" |
- }, |
- { |
- "id": "WindowState", |
- "type": "string", |
- "enum": ["normal", "minimized", "maximized", "fullscreen"], |
- "description": "The state of the browser window." |
- }, |
- { |
- "id": "Bounds", |
- "type": "object", |
- "description": "Browser window bounds information", |
- "properties": [ |
- { "name": "left", "type": "integer", "optional": true, "description": "The offset from the left edge of the screen to the window in pixels."}, |
- { "name": "top", "type": "integer", "optional": true, "description": "The offset from the top edge of the screen to the window in pixels."}, |
- { "name": "width", "type": "integer", "optional": true, "description": "The window width in pixels."}, |
- { "name": "height", "type": "integer", "optional": true, "description": "The window height in pixels."}, |
- { "name": "windowState", "$ref": "WindowState", "optional": true, "description": "The window state. Default to normal."} |
- ] |
- } |
- ], |
- "commands": [ |
- { |
- "name": "getWindowForTarget", |
- "description": "Get the browser window that contains the devtools target.", |
- "parameters": [ |
- { "name": "targetId", "$ref": "Target.TargetID", "description": "Devtools agent host id." } |
- ], |
- "returns": [ |
- { "name": "windowId", "$ref": "WindowID", "description": "Browser window id." }, |
- { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored window position and size are returned." } |
- ] |
- }, |
- { |
- "name": "setWindowBounds", |
- "description": "Set position and/or size of the browser window.", |
- "parameters": [ |
- { "name": "windowId", "$ref": "WindowID", "description": "Browser window id." }, |
- { "name": "bounds", "$ref": "Bounds", "description": "New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged." } |
- ] |
- }, |
- { |
- "name": "getWindowBounds", |
- "description": "Get position and size of the browser window.", |
- "parameters": [ |
- { "name": "windowId", "$ref": "WindowID", "description": "Browser window id." } |
- ], |
- "returns": [ |
- { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored window position and size are returned." } |
- ] |
- } |
- ] |
}] |
} |