| 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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 "dependencies": ["permission:webrtcAudioPrivate"], | 767 "dependencies": ["permission:webrtcAudioPrivate"], |
| 768 "contexts": ["blessed_extension"] | 768 "contexts": ["blessed_extension"] |
| 769 }, | 769 }, |
| 770 "webrtcLoggingPrivate": { | 770 "webrtcLoggingPrivate": { |
| 771 "dependencies": ["permission:webrtcLoggingPrivate"], | 771 "dependencies": ["permission:webrtcLoggingPrivate"], |
| 772 "contexts": ["blessed_extension"] | 772 "contexts": ["blessed_extension"] |
| 773 }, | 773 }, |
| 774 "webstore": { | 774 "webstore": { |
| 775 // Hosted apps can use the webstore API from within a blessed context. | 775 // Hosted apps can use the webstore API from within a blessed context. |
| 776 "channel": "stable", | 776 "channel": "stable", |
| 777 "extension_types": ["hosted_app"], | 777 // Do not specify extension_types to prevent webstore from being filtered. |
| 778 // Technically, webstore is not in apps or extensions, but it is currently |
| 779 // displayed on /extensions/webstore and /apps/webstore. |
| 778 "contexts": ["blessed_web_page", "web_page"], | 780 "contexts": ["blessed_web_page", "web_page"], |
| 779 // Any webpage can use the webstore API. | 781 // Any webpage can use the webstore API. |
| 780 "matches": ["http://*/*", "https://*/*"] | 782 "matches": ["http://*/*", "https://*/*"] |
| 781 }, | 783 }, |
| 782 "webstorePrivate": { | 784 "webstorePrivate": { |
| 783 "dependencies": ["permission:webstorePrivate"], | 785 "dependencies": ["permission:webstorePrivate"], |
| 784 "contexts": ["blessed_extension"] | 786 "contexts": ["blessed_extension"] |
| 785 }, | 787 }, |
| 786 "webview": { | 788 "webview": { |
| 787 "internal": true, | 789 "internal": true, |
| 788 "dependencies": ["permission:webview"], | 790 "dependencies": ["permission:webview"], |
| 789 "contexts": ["blessed_extension", "unblessed_extension"] | 791 "contexts": ["blessed_extension", "unblessed_extension"] |
| 790 }, | 792 }, |
| 791 "webViewRequest": { | 793 "webViewRequest": { |
| 792 "dependencies": ["permission:webview"], | 794 "dependencies": ["permission:webview"], |
| 793 "contexts": ["blessed_extension", "unblessed_extension"] | 795 "contexts": ["blessed_extension", "unblessed_extension"] |
| 794 }, | 796 }, |
| 795 "webviewTag": { | 797 "webviewTag": { |
| 796 "internal": true, | 798 "internal": true, |
| 797 "channel": "stable", | 799 "channel": "stable", |
| 798 "dependencies": ["permission:webview"], | 800 "dependencies": ["permission:webview"], |
| 799 "contexts": ["blessed_extension"] | 801 "contexts": ["blessed_extension"] |
| 800 }, | 802 }, |
| 801 "windows": { | 803 "windows": { |
| 802 "dependencies": ["api:tabs"], | 804 "dependencies": ["api:tabs"], |
| 803 "contexts": ["blessed_extension"] | 805 "contexts": ["blessed_extension"] |
| 804 } | 806 } |
| 805 } | 807 } |
| OLD | NEW |