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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2886693002: initial version of the headless download manager delegate
Patch Set: initial version of the headless download manager delegate Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 4657 matching lines...) Expand 10 before | Expand all | Expand 10 after
4668 }, 4668 },
4669 { 4669 {
4670 "name": "getWindowBounds", 4670 "name": "getWindowBounds",
4671 "description": "Get position and size of the browser window.", 4671 "description": "Get position and size of the browser window.",
4672 "parameters": [ 4672 "parameters": [
4673 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4673 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4674 ], 4674 ],
4675 "returns": [ 4675 "returns": [
4676 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4676 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4677 ] 4677 ]
4678 },
4679 {
4680 "name": "setDownloadBehavior",
4681 "description": "Set the behavior when downloading a file (headle ss chrome only).",
4682 "parameters": [
4683 { "name": "behavior", "type": "string", "enum": ["deny", "al low"], "description": "Whether to allow all or deny all download requests." }
Eric Seckler 2017/05/17 09:44:45 drive-by (trying to verify that this aligns with f
4684 ]
4685 },
4686 {
4687 "name": "setDownloadDirectory",
4688 "description": "Set the directory path where downloaded fles wil l be saved (headless chrome only).",
4689 "parameters": [
4690 { "name": "path", "type": "string", "description": "The defa ult path to save downloaded files to." }
4691 ]
4678 } 4692 }
4679 ] 4693 ]
4680 }] 4694 }]
4681 } 4695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698