Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: third_party/chrome/idl/app.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/chrome/idl/alarms.idl ('k') | third_party/chrome/idl/app_current_window_internal.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
+ }
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/idl/alarms.idl ('k') | third_party/chrome/idl/app_current_window_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698