blob: d9bffa7b533d8f3d57fd1158e9905a6584e5c694 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
{
"namespace": "app",
"description": "none",
"types": [
{
"id": "Details",
"description": "TODO (it's a manifest)",
"type": "object",
"properties": {},
"additionalProperties": { "type": "any" }
},
{
"id": "DOMWindow",
"type": "object",
"properties": {},
"additionalProperties": { "type": "any" }
}
],
"functions": [
{
"name": "getIsInstalled",
"description": "TODO",
"type": "function",
"parameters": [],
"returns": {
"name": "isInstalled",
"description": "TODO",
"type": "boolean"
}
},
{
"name": "installState",
"description": "TODO",
"type": "function",
"parameters": [
{
"type": "function",
"name": "callback",
"parameters": [
{
"type": "string",
"name": "state",
"enum": [ "not_installed", "installed", "disabled" ]
}
]
}
]
},
{
"name": "runningState",
"description": "TODO",
"type": "function",
"parameters": [],
"returns": {
"type": "string",
"enum": [ "running", "cannot_run", "ready_to_run" ]
}
},
{
"name": "getDetails",
"description": "TODO",
"type": "function",
"parameters": [],
"returns": {
"$ref": "Details",
"optional": true,
"description": "TODO"
}
},
{
"name": "getDetailsForFrame",
"description": "TODO",
"type": "function",
"parameters": [
{
"name": "frame",
"description": "TODO",
"$ref": "DOMWindow"
}
],
"returns": {
"$ref": "Details",
"optional": true,
"description": "TODO"
}
}
]
}
]