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

Side by Side Diff: content/browser/devtools/browser_protocol.json

Issue 2100883002: DevTools: merge browser_protocol.json files from content and core/inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn fix Created 4 years, 5 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
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "version": { "major": "1", "minor": "0" },
3 "domains": [{
4 "domain": "SystemInfo",
5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.",
6 "hidden": true,
7 "types": [
8 {
9 "id": "GPUDevice",
10 "type": "object",
11 "properties": [
12 { "name": "vendorId", "type": "number", "description": "PCI ID of the GPU vendor, if available; 0 otherwise." },
13 { "name": "deviceId", "type": "number", "description": "PCI ID of the GPU device, if available; 0 otherwise." },
14 { "name": "vendorString", "type": "string", "description": " String description of the GPU vendor, if the PCI ID is not available." },
15 { "name": "deviceString", "type": "string", "description": " String description of the GPU device, if the PCI ID is not available." }
16 ],
17 "description": "Describes a single graphics processor (GPU)."
18 },
19 {
20 "id": "GPUInfo",
21 "type": "object",
22 "properties": [
23 { "name": "devices", "type": "array", "items": { "$ref": "GP UDevice" }, "description": "The graphics devices on the system. Element 0 is the primary GPU." },
24 { "name": "auxAttributes", "type": "object", "optional": "tr ue", "description": "An optional dictionary of additional GPU related attributes ." },
25 { "name": "featureStatus", "type": "object", "optional": "tr ue", "description": "An optional dictionary of graphics features and their statu s." },
26 { "name": "driverBugWorkarounds", "type": "array", "items": { "type": "string" }, "description": "An optional array of GPU driver bug workar ounds." }
27 ],
28 "description": "Provides information about the GPU(s) on the sys tem."
29 }
30 ],
31 "commands": [
32 {
33 "name": "getInfo",
34 "async": true,
35 "description": "Returns information about the system.",
36 "returns": [
37 { "name": "gpu", "$ref": "GPUInfo", "description": "Informat ion about the GPUs on the system." },
38 { "name": "modelName", "type": "string", "description": "A p latform-dependent description of the model of the machine. On Mac OS, this is, f or example, 'MacBookPro'. Will be the empty string if not supported." },
39 { "name": "modelVersion", "type": "string", "description": " A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported." }
40 ],
41 "handlers": ["browser"]
42 }
43 ]
44 },
45 {
46 "domain": "Tethering",
47 "description": "The Tethering domain defines methods and events for brow ser port binding.",
48 "hidden": true,
49 "commands": [
50 {
51 "name": "bind",
52 "async": true,
53 "description": "Request browser port binding.",
54 "parameters": [
55 { "name": "port", "type": "integer", "description": "Port nu mber to bind." }
56 ],
57 "handlers": ["browser"]
58 },
59 {
60 "name": "unbind",
61 "async": true,
62 "description": "Request browser port unbinding.",
63 "parameters": [
64 { "name": "port", "type": "integer", "description": "Port nu mber to unbind." }
65 ],
66 "handlers": ["browser"]
67 }
68 ],
69 "events": [
70 {
71 "name": "accepted",
72 "description": "Informs that port was successfully bound and got a specified connection id.",
73 "parameters": [
74 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
75 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
76 ],
77 "handlers": ["browser"]
78 }
79 ]
80 }]
81 }
OLDNEW
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698