Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / common / extensions / api / app.json
blobd9bffa7b533d8f3d57fd1158e9905a6584e5c694
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6   {
7     "namespace": "app",
8     "description": "none",
9     "types": [
10       {
11         "id": "Details",
12         "description": "TODO (it's a manifest)",
13         "type": "object",
14         "properties": {},
15         "additionalProperties": { "type": "any" }
16       },
17       {
18         "id": "DOMWindow",
19         "type": "object",
20         "properties": {},
21         "additionalProperties": { "type": "any" }
22       }
23     ],
24     "functions": [
25       {
26         "name": "getIsInstalled",
27         "description": "TODO",
28         "type": "function",
29         "parameters": [],
30         "returns": {
31           "name": "isInstalled",
32           "description": "TODO",
33           "type": "boolean"
34         }
35       },
36       {
37         "name": "installState",
38         "description": "TODO",
39         "type": "function",
40         "parameters": [
41           {
42             "type": "function",
43             "name": "callback",
44             "parameters": [
45               {
46                 "type": "string",
47                 "name": "state",
48                 "enum": [ "not_installed", "installed", "disabled" ]
49               }
50             ]
51           }
52         ]
53       },
54       {
55         "name": "runningState",
56         "description": "TODO",
57         "type": "function",
58         "parameters": [],
59         "returns": {
60           "type": "string",
61           "enum": [ "running", "cannot_run", "ready_to_run" ]
62         }
63       },
64       {
65         "name": "getDetails",
66         "description": "TODO",
67         "type": "function",
68         "parameters": [],
69         "returns": {
70           "$ref": "Details",
71           "optional": true,
72           "description": "TODO"
73         }
74       },
75       {
76         "name": "getDetailsForFrame",
77         "description": "TODO",
78         "type": "function",
79         "parameters": [
80           {
81             "name": "frame",
82             "description": "TODO",
83             "$ref": "DOMWindow"
84           }
85         ],
86         "returns": {
87           "$ref": "Details",
88           "optional": true,
89           "description": "TODO"
90         }
91       }
92     ]
93   }