| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 "contexts": ["blessed_extension"] | 186 "contexts": ["blessed_extension"] |
| 187 }, | 187 }, |
| 188 "cast.streaming.udpTransport": { | 188 "cast.streaming.udpTransport": { |
| 189 "dependencies": ["permission:cast.streaming"], | 189 "dependencies": ["permission:cast.streaming"], |
| 190 "contexts": ["blessed_extension"] | 190 "contexts": ["blessed_extension"] |
| 191 }, | 191 }, |
| 192 "chromeosInfoPrivate": { | 192 "chromeosInfoPrivate": { |
| 193 "dependencies": ["permission:chromeosInfoPrivate"], | 193 "dependencies": ["permission:chromeosInfoPrivate"], |
| 194 "contexts": ["blessed_extension"] | 194 "contexts": ["blessed_extension"] |
| 195 }, | 195 }, |
| 196 "chromeWebViewInternal": { |
| 197 "internal": true, |
| 198 "dependencies": ["permission:webview"], |
| 199 "contexts": ["blessed_extension"] |
| 200 }, |
| 196 "cloudPrintPrivate": { | 201 "cloudPrintPrivate": { |
| 197 "dependencies": ["permission:cloudPrintPrivate"], | 202 "dependencies": ["permission:cloudPrintPrivate"], |
| 198 "contexts": ["blessed_extension"] | 203 "contexts": ["blessed_extension"] |
| 199 }, | 204 }, |
| 200 "commandLinePrivate": { | 205 "commandLinePrivate": { |
| 201 "dependencies": ["permission:commandLinePrivate"], | 206 "dependencies": ["permission:commandLinePrivate"], |
| 202 "contexts": ["blessed_extension"] | 207 "contexts": ["blessed_extension"] |
| 203 }, | 208 }, |
| 204 "commands": { | 209 "commands": { |
| 205 "dependencies": ["manifest:commands"], | 210 "dependencies": ["manifest:commands"], |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 // Any webpage can use the webstore API. | 770 // Any webpage can use the webstore API. |
| 766 "matches": ["<all_urls>"] | 771 "matches": ["<all_urls>"] |
| 767 }, | 772 }, |
| 768 "webstorePrivate": { | 773 "webstorePrivate": { |
| 769 "dependencies": ["permission:webstorePrivate"], | 774 "dependencies": ["permission:webstorePrivate"], |
| 770 // NOTE: even though this is only used by the webstore hosted app, which | 775 // NOTE: even though this is only used by the webstore hosted app, which |
| 771 // normally would mean blessed_web_page, component hosted apps are actually | 776 // normally would mean blessed_web_page, component hosted apps are actually |
| 772 // given the blessed_extension denomination. Confusing. | 777 // given the blessed_extension denomination. Confusing. |
| 773 "contexts": ["blessed_extension"] | 778 "contexts": ["blessed_extension"] |
| 774 }, | 779 }, |
| 775 "webViewExperimentalInternal": [{ | |
| 776 "internal": true, | |
| 777 "channel": "dev", | |
| 778 "contexts": ["blessed_extension"], | |
| 779 "dependencies": ["permission:webview"] | |
| 780 }, | |
| 781 { | |
| 782 "internal": true, | |
| 783 "channel": "stable", | |
| 784 "contexts": ["blessed_extension"], | |
| 785 "dependencies": ["permission:webview"], | |
| 786 "whitelist": [ | |
| 787 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", | |
| 788 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", | |
| 789 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", | |
| 790 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" | |
| 791 ] | |
| 792 }], | |
| 793 "webViewInternal": [{ | |
| 794 "internal": true, | |
| 795 "dependencies": ["permission:webview"], | |
| 796 "contexts": ["blessed_extension"] | |
| 797 }, { | |
| 798 // Component extensions can use the webViewInternal API from iframes. | |
| 799 "location": "component", | |
| 800 "internal": true, | |
| 801 "dependencies": ["permission:webview"], | |
| 802 "contexts": ["unblessed_extension"] | |
| 803 }], | |
| 804 "webViewRequest": [{ | 780 "webViewRequest": [{ |
| 805 "dependencies": ["permission:webview"], | 781 "dependencies": ["permission:webview"], |
| 806 "contexts": ["blessed_extension"] | 782 "contexts": ["blessed_extension"] |
| 807 }, { | 783 }, { |
| 808 // Component extensions can use the webViewRequest API from iframes. | 784 // Component extensions can use the webViewRequest API from iframes. |
| 809 "location": "component", | 785 "location": "component", |
| 810 "dependencies": ["permission:webview"], | 786 "dependencies": ["permission:webview"], |
| 811 "contexts": ["unblessed_extension"] | 787 "contexts": ["unblessed_extension"] |
| 812 }], | 788 }], |
| 813 "webviewTag": { | 789 "webviewTag": { |
| 814 "internal": true, | 790 "internal": true, |
| 815 "channel": "stable", | 791 "channel": "stable", |
| 816 "dependencies": ["permission:webview"], | 792 "dependencies": ["permission:webview"], |
| 817 "contexts": ["blessed_extension"] | 793 "contexts": ["blessed_extension"] |
| 818 }, | 794 }, |
| 819 "windows": { | 795 "windows": { |
| 820 "dependencies": ["api:tabs"], | 796 "dependencies": ["api:tabs"], |
| 821 "contexts": ["blessed_extension"] | 797 "contexts": ["blessed_extension"] |
| 822 } | 798 } |
| 823 } | 799 } |
| OLD | NEW |