home *** CD-ROM | disk | FTP | other *** search
- // 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",
- "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"
- }
- }
- ]
- }
- ]
-