summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.json
blob: 5f34616b6e8af661761ef309319040a6d8991322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[
  {
    "namespace": "pictureInPictureParent",
    "description": "Parent process methods for controlling the Picture-in-Picture feature.",
    "functions": [
      {
        "name": "setOverrides",
        "type": "function",
        "description": "Set Picture-in-Picture toggle position overrides",
        "parameters": [
          {
            "name": "overrides",
            "type": "object",
            "additionalProperties": { "type": "any" },
            "description": "The Picture-in-Picture toggle position overrides to set"
          }
        ]
      }
    ]
  },
  {
    "namespace": "pictureInPictureChild",
    "description": "WebExtension process methods for querying the Picture-in-Picture feature.",
    "functions": [
      {
        "name": "getKeyboardControls",
        "type": "function",
        "description": "Get the Picture-in-Picture keyboard control override constants",
        "parameters": [],
        "returns": {
          "type": "object",
          "properties": {},
          "additionalProperties": { "type": "any" },
          "description": "The Picture-in-Picture keyboard control override constants"
        }
      },
      {
        "name": "getPolicies",
        "type": "function",
        "description": "Get the Picture-in-Picture toggle position override constants",
        "parameters": [],
        "returns": {
          "type": "object",
          "properties": {},
          "additionalProperties": { "type": "any" },
          "description": "The Picture-in-Picture toggle position override constants"
        }
      }
    ]
  }
]