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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "description": "Request browser port binding.", | 58 "description": "Request browser port binding.", |
59 "parameters": [ | 59 "parameters": [ |
60 { "name": "port", "type": "number", "description": "Port num
ber to bind." } | 60 { "name": "port", "type": "integer", "description": "Port nu
mber to bind." } |
61 ], | 61 ], |
62 "handlers": ["browser"] | 62 "handlers": ["browser"] |
63 }, | 63 }, |
64 { | 64 { |
65 "name": "unbind", | 65 "name": "unbind", |
66 "description": "Request browser port unbinding.", | 66 "description": "Request browser port unbinding.", |
67 "parameters": [ | 67 "parameters": [ |
68 { "name": "port", "type": "number", "description": "Port num
ber to unbind." } | 68 { "name": "port", "type": "integer", "description": "Port nu
mber to unbind." } |
69 ], | 69 ], |
70 "handlers": ["browser"] | 70 "handlers": ["browser"] |
71 } | 71 } |
72 ], | 72 ], |
73 "events": [ | 73 "events": [ |
74 { | 74 { |
75 "name": "accepted", | 75 "name": "accepted", |
76 "description": "Informs that port was successfully bound and got
a specified connection id.", | 76 "description": "Informs that port was successfully bound and got
a specified connection id.", |
77 "parameters": [ | 77 "parameters": [ |
78 {"name": "port", "type": "number", "description": "Port numb
er that was successfully bound." }, | 78 {"name": "port", "type": "number", "description": "Port numb
er that was successfully bound." }, |
79 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 79 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
80 ], | 80 ], |
81 "handlers": ["browser"] | 81 "handlers": ["browser"] |
82 } | 82 } |
83 ] | 83 ] |
84 }] | 84 }] |
85 } | 85 } |
OLD | NEW |