OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "SystemInfo", | 4 "domain": "SystemInfo", |
5 "description": "The SystemInfo domain defines methods and events for que
rying low-level system information.", | 5 "description": "The SystemInfo domain defines methods and events for que
rying low-level system information.", |
6 "hidden": true, | 6 "hidden": true, |
7 "types": [ | 7 "types": [ |
8 { | 8 { |
9 "id": "GPUDevice", | 9 "id": "GPUDevice", |
10 "type": "object", | 10 "type": "object", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 ] | 49 ] |
50 }, | 50 }, |
51 { | 51 { |
52 "domain": "Tethering", | 52 "domain": "Tethering", |
53 "description": "The Tethering domain defines methods and events for brow
ser port binding.", | 53 "description": "The Tethering domain defines methods and events for brow
ser port binding.", |
54 "hidden": true, | 54 "hidden": true, |
55 "commands": [ | 55 "commands": [ |
56 { | 56 { |
57 "name": "bind", | 57 "name": "bind", |
| 58 "async": true, |
58 "description": "Request browser port binding.", | 59 "description": "Request browser port binding.", |
59 "parameters": [ | 60 "parameters": [ |
60 { "name": "port", "type": "number", "description": "Port num
ber to bind." } | 61 { "name": "port", "type": "integer", "description": "Port nu
mber to bind." } |
61 ], | 62 ], |
62 "handlers": ["browser"] | 63 "handlers": ["browser"] |
63 }, | 64 }, |
64 { | 65 { |
65 "name": "unbind", | 66 "name": "unbind", |
| 67 "async": true, |
66 "description": "Request browser port unbinding.", | 68 "description": "Request browser port unbinding.", |
67 "parameters": [ | 69 "parameters": [ |
68 { "name": "port", "type": "number", "description": "Port num
ber to unbind." } | 70 { "name": "port", "type": "integer", "description": "Port nu
mber to unbind." } |
69 ], | 71 ], |
70 "handlers": ["browser"] | 72 "handlers": ["browser"] |
71 } | 73 } |
72 ], | 74 ], |
73 "events": [ | 75 "events": [ |
74 { | 76 { |
75 "name": "accepted", | 77 "name": "accepted", |
76 "description": "Informs that port was successfully bound and got
a specified connection id.", | 78 "description": "Informs that port was successfully bound and got
a specified connection id.", |
77 "parameters": [ | 79 "parameters": [ |
78 {"name": "port", "type": "number", "description": "Port numb
er that was successfully bound." }, | 80 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
79 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 81 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
80 ], | 82 ], |
81 "handlers": ["browser"] | 83 "handlers": ["browser"] |
82 } | 84 } |
83 ] | 85 ] |
84 }] | 86 }] |
85 } | 87 } |
OLD | NEW |