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

Unified Diff: chrome/common/extensions/api/app.json

Issue 9460002: Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/common/extensions/api/app.json
diff --git a/chrome/common/extensions/api/app.json b/chrome/common/extensions/api/app.json
new file mode 100644
index 0000000000000000000000000000000000000000..0e813e6e99e2b85fa98f3da6d014384f1b1cb58a
--- /dev/null
+++ b/chrome/common/extensions/api/app.json
@@ -0,0 +1,70 @@
+[
+ {
+ "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": "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"
+ }
+ }
+ ]
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698