Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2808923002: Revert of add a new set of commands to resize and position windows (patchset #35 id:680001 of https… (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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." }
- ]
- }
- ]
}]
}
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698