OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This features file defines extension APIs implemented under src/chrome. | 5 // This features file defines extension APIs implemented under src/chrome. |
6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
8 // | 8 // |
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 "dependencies": ["permission:webrtcAudioPrivate"], | 740 "dependencies": ["permission:webrtcAudioPrivate"], |
741 "contexts": ["blessed_extension"] | 741 "contexts": ["blessed_extension"] |
742 }, | 742 }, |
743 "webrtcLoggingPrivate": { | 743 "webrtcLoggingPrivate": { |
744 "dependencies": ["permission:webrtcLoggingPrivate"], | 744 "dependencies": ["permission:webrtcLoggingPrivate"], |
745 "contexts": ["blessed_extension"] | 745 "contexts": ["blessed_extension"] |
746 }, | 746 }, |
747 "webstore": { | 747 "webstore": { |
748 // Hosted apps can use the webstore API from within a blessed context. | 748 // Hosted apps can use the webstore API from within a blessed context. |
749 "channel": "stable", | 749 "channel": "stable", |
750 "extension_types": ["hosted_app"], | 750 // Do not specify extension_types to prevent webstore from being filtered. |
| 751 // Technically, webstore is not in apps or extensions, but it is currently |
| 752 // displayed on /extensions/webstore and /apps/webstore. |
751 "contexts": ["blessed_web_page", "web_page"], | 753 "contexts": ["blessed_web_page", "web_page"], |
752 // Any webpage can use the webstore API. | 754 // Any webpage can use the webstore API. |
753 "matches": ["http://*/*", "https://*/*"] | 755 "matches": ["http://*/*", "https://*/*"] |
754 }, | 756 }, |
755 "webstorePrivate": { | 757 "webstorePrivate": { |
756 "dependencies": ["permission:webstorePrivate"], | 758 "dependencies": ["permission:webstorePrivate"], |
757 "contexts": ["blessed_extension"] | 759 "contexts": ["blessed_extension"] |
758 }, | 760 }, |
759 "webview": { | 761 "webview": { |
760 "internal": true, | 762 "internal": true, |
761 "dependencies": ["permission:webview"], | 763 "dependencies": ["permission:webview"], |
762 "contexts": ["blessed_extension", "unblessed_extension"] | 764 "contexts": ["blessed_extension", "unblessed_extension"] |
763 }, | 765 }, |
764 "webViewRequest": { | 766 "webViewRequest": { |
765 "dependencies": ["permission:webview"], | 767 "dependencies": ["permission:webview"], |
766 "contexts": ["blessed_extension", "unblessed_extension"] | 768 "contexts": ["blessed_extension", "unblessed_extension"] |
767 }, | 769 }, |
768 "webviewTag": { | 770 "webviewTag": { |
769 "internal": true, | 771 "internal": true, |
770 "channel": "stable", | 772 "channel": "stable", |
771 "dependencies": ["permission:webview"], | 773 "dependencies": ["permission:webview"], |
772 "contexts": ["blessed_extension"] | 774 "contexts": ["blessed_extension"] |
773 }, | 775 }, |
774 "windows": { | 776 "windows": { |
775 "dependencies": ["api:tabs"], | 777 "dependencies": ["api:tabs"], |
776 "contexts": ["blessed_extension"] | 778 "contexts": ["blessed_extension"] |
777 } | 779 } |
778 } | 780 } |
OLD | NEW |