| Index: third_party/chrome/idl/app.json
|
| diff --git a/third_party/chrome/idl/app.json b/third_party/chrome/idl/app.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0d7027775378714ba0e451a8e7e31a9ef8717668
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/app.json
|
| @@ -0,0 +1,102 @@
|
| +// 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",
|
| + "nodoc": true,
|
| + "unprivileged": true,
|
| + "matches": [ "<all_urls>" ],
|
| + "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": "install",
|
| + "description": "TODO",
|
| + "type": "function",
|
| + "parameters": []
|
| + },
|
| + {
|
| + "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"
|
| + }
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|