Chromium Code Reviews| Index: extensions/common/api/_api_features.json |
| diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json |
| index cae93b142ae4520b667ccd70a491088abffbd2a6..66ba94a8a9a3f183e822e865d5a9f44bd3cf8aa5 100644 |
| --- a/extensions/common/api/_api_features.json |
| +++ b/extensions/common/api/_api_features.json |
| @@ -14,6 +14,95 @@ |
| "dependencies": ["permission:dns"], |
| "contexts": ["blessed_extension"] |
| }, |
| + "extension": { |
|
not at google - send to devlin
2014/05/05 19:26:15
why did the extension API need to be moved?
Ken Rockot(use gerrit already)
2014/05/05 21:08:07
This was sort of a last minute change, since movin
|
| + "channel": "stable", |
| + "extension_types": ["extension", "legacy_packaged_app"], |
| + "contexts": ["blessed_extension"] |
| + }, |
| + "extension.getURL": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "extension.getViews": [ |
| + { |
| + "channel": "stable", |
| + "contexts": ["blessed_extension"], |
| + "extension_types": ["extension", "legacy_packaged_app"] |
| + }, |
| + { |
| + // TODO(yoz): Eliminate this usage. |
| + "channel": "stable", |
| + "contexts": ["blessed_extension"], |
| + "extension_types": ["platform_app"], |
| + "whitelist": [ |
| + "A948368FC53BE437A55FEB414106E207925482F5" // File manager |
| + ] |
| + } |
| + ], |
| + "extension.inIncognitoContext": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "extension.lastError": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "extension.onRequest": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "extension.sendNativeMessage": { |
| + "dependencies": ["permission:nativeMessaging"] |
| + }, |
| + "extension.sendRequest": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + // This is not a real API, only here for documentation purposes. |
| + // See http://crbug.com/275944 for background. |
| + "extensionsManifestTypes": { |
| + "internal": true, |
| + "channel": "stable", |
| + "contexts": ["blessed_extension"] |
| + }, |
| + "runtime": { |
| + "channel": "stable", |
| + "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| + "contexts": ["blessed_extension"] |
| + }, |
| + "runtime.getManifest": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.connect": { |
| + "contexts": "all", |
| + "matches": ["<all_urls>"] |
| + }, |
| + "runtime.getURL": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.id": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.lastError": { |
| + "contexts": "all", |
| + "extension_types": "all", |
| + "matches": ["<all_urls>"] |
| + }, |
| + "runtime.onConnect": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.onMessage": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.reload": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.requestUpdateCheck": { |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "runtime.sendMessage": { |
| + "contexts": "all", |
| + "matches": ["<all_urls>"] |
| + }, |
| + "runtime.setUninstallURL": { |
| + "channel": "dev", |
| + "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| "socket": { |
| "dependencies": ["permission:socket"], |
| "contexts": ["blessed_extension"] |
| @@ -39,5 +128,15 @@ |
| "channel": "stable", |
| "extension_types": "all", |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| + }, |
| + "types": { |
| + "channel": "stable", |
| + "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| + "contexts": ["blessed_extension"] |
| + }, |
| + "types.private": { |
| + "channel": "dev", |
| + "extension_types": ["extension"], |
| + "location": "component" |
| } |
| } |