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

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, 6 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 4719 matching lines...) Expand 10 before | Expand all | Expand 10 after
4730 }, 4730 },
4731 { 4731 {
4732 "name": "getWindowBounds", 4732 "name": "getWindowBounds",
4733 "description": "Get position and size of the browser window.", 4733 "description": "Get position and size of the browser window.",
4734 "parameters": [ 4734 "parameters": [
4735 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4735 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4736 ], 4736 ],
4737 "returns": [ 4737 "returns": [
4738 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4738 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4739 ] 4739 ]
4740 },
4741 {
4742 "name": "setDownloadBehavior",
pfeldman 2017/06/05 16:07:30 You could make directory an optional parameter of
4743 "description": "Set the behavior when downloading a file (headle ss chrome only).",
4744 "parameters": [
4745 { "name": "behavior", "type": "string", "enum": ["deny", "al low"], "description": "Whether to allow all or deny all download requests." }
4746 ]
4747 },
4748 {
4749 "name": "setDownloadDirectory",
4750 "description": "Set the directory path where downloaded fles wil l be saved (headless chrome only).",
pfeldman 2017/06/05 16:07:30 fles -> files
Oleg Sushkov 2017/06/06 03:36:54 done
4751 "parameters": [
4752 { "name": "path", "type": "string", "description": "The defa ult path to save downloaded files to." }
4753 ]
4740 } 4754 }
4741 ] 4755 ]
4742 }] 4756 }]
4743 } 4757 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698