| 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 "channel": "stable", | 765 "channel": "stable", |
| 766 // Do not specify extension_types to prevent webstore from being filtered. | 766 // Do not specify extension_types to prevent webstore from being filtered. |
| 767 // Technically, webstore is not in apps or extensions, but it is currently | 767 // Technically, webstore is not in apps or extensions, but it is currently |
| 768 // displayed on /extensions/webstore and /apps/webstore. | 768 // displayed on /extensions/webstore and /apps/webstore. |
| 769 "contexts": ["blessed_web_page", "web_page"], | 769 "contexts": ["blessed_web_page", "web_page"], |
| 770 // Any webpage can use the webstore API. | 770 // Any webpage can use the webstore API. |
| 771 "matches": ["http://*/*", "https://*/*"] | 771 "matches": ["http://*/*", "https://*/*"] |
| 772 }, | 772 }, |
| 773 "webstorePrivate": { | 773 "webstorePrivate": { |
| 774 "dependencies": ["permission:webstorePrivate"], | 774 "dependencies": ["permission:webstorePrivate"], |
| 775 // NOTE: even though this is only used by the webstore hosted app, which |
| 776 // normally would mean blessed_web_page, component hosted apps are actually |
| 777 // given the blessed_extension denomination. Confusing. |
| 775 "contexts": ["blessed_extension"] | 778 "contexts": ["blessed_extension"] |
| 776 }, | 779 }, |
| 777 "webViewInternal": [{ | 780 "webViewInternal": [{ |
| 778 "internal": true, | 781 "internal": true, |
| 779 "dependencies": ["permission:webview"], | 782 "dependencies": ["permission:webview"], |
| 780 "contexts": ["blessed_extension"] | 783 "contexts": ["blessed_extension"] |
| 781 }, { | 784 }, { |
| 782 // Component extensions can use the webViewInternal API from iframes. | 785 // Component extensions can use the webViewInternal API from iframes. |
| 783 "location": "component", | 786 "location": "component", |
| 784 "internal": true, | 787 "internal": true, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 798 "internal": true, | 801 "internal": true, |
| 799 "channel": "stable", | 802 "channel": "stable", |
| 800 "dependencies": ["permission:webview"], | 803 "dependencies": ["permission:webview"], |
| 801 "contexts": ["blessed_extension"] | 804 "contexts": ["blessed_extension"] |
| 802 }, | 805 }, |
| 803 "windows": { | 806 "windows": { |
| 804 "dependencies": ["api:tabs"], | 807 "dependencies": ["api:tabs"], |
| 805 "contexts": ["blessed_extension"] | 808 "contexts": ["blessed_extension"] |
| 806 } | 809 } |
| 807 } | 810 } |
| OLD | NEW |