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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 [
6 {
7 "namespace": "app",
8 "nodoc": true,
9 "unprivileged": true,
10 "matches": [ "<all_urls>" ],
11 "types": [
12 {
13 "id": "Details",
14 "description": "TODO (it's a manifest)",
15 "type": "object",
16 "properties": {},
17 "additionalProperties": { "type": "any" }
18 },
19 {
20 "id": "DOMWindow",
21 "type": "object",
22 "properties": {},
23 "additionalProperties": { "type": "any" }
24 }
25 ],
26 "functions": [
27 {
28 "name": "getIsInstalled",
29 "description": "TODO",
30 "type": "function",
31 "parameters": [],
32 "returns": {
33 "name": "isInstalled",
34 "description": "TODO",
35 "type": "boolean"
36 }
37 },
38 {
39 "name": "installState",
40 "description": "TODO",
41 "type": "function",
42 "parameters": [
43 {
44 "type": "function",
45 "name": "callback",
46 "parameters": [
47 {
48 "type": "string",
49 "name": "state",
50 "enum": [ "not_installed", "installed", "disabled" ]
51 }
52 ]
53 }
54 ]
55 },
56 {
57 "name": "runningState",
58 "description": "TODO",
59 "type": "function",
60 "parameters": [],
61 "returns": {
62 "type": "string",
63 "enum": [ "running", "cannot_run", "ready_to_run" ]
64 }
65 },
66 {
67 "name": "install",
68 "description": "TODO",
69 "type": "function",
70 "parameters": []
71 },
72 {
73 "name": "getDetails",
74 "description": "TODO",
75 "type": "function",
76 "parameters": [],
77 "returns": {
78 "$ref": "Details",
79 "optional": true,
80 "description": "TODO"
81 }
82 },
83 {
84 "name": "getDetailsForFrame",
85 "description": "TODO",
86 "type": "function",
87 "parameters": [
88 {
89 "name": "frame",
90 "description": "TODO",
91 "$ref": "DOMWindow"
92 }
93 ],
94 "returns": {
95 "$ref": "Details",
96 "optional": true,
97 "description": "TODO"
98 }
99 }
100 ]
101 }
102 ]
OLDNEW
« 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