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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "contexts": ["blessed_extension"] | 205 "contexts": ["blessed_extension"] |
206 }, | 206 }, |
207 "cast.streaming.udpTransport": { | 207 "cast.streaming.udpTransport": { |
208 "dependencies": ["permission:cast.streaming"], | 208 "dependencies": ["permission:cast.streaming"], |
209 "contexts": ["blessed_extension"] | 209 "contexts": ["blessed_extension"] |
210 }, | 210 }, |
211 "chromeosInfoPrivate": { | 211 "chromeosInfoPrivate": { |
212 "dependencies": ["permission:chromeosInfoPrivate"], | 212 "dependencies": ["permission:chromeosInfoPrivate"], |
213 "contexts": ["blessed_extension"] | 213 "contexts": ["blessed_extension"] |
214 }, | 214 }, |
| 215 "chromeWebViewInternal": { |
| 216 "internal": true, |
| 217 "dependencies": ["permission:webview"], |
| 218 "contexts": ["blessed_extension"] |
| 219 }, |
215 "cloudPrintPrivate": { | 220 "cloudPrintPrivate": { |
216 "dependencies": ["permission:cloudPrintPrivate"], | 221 "dependencies": ["permission:cloudPrintPrivate"], |
217 "contexts": ["blessed_extension"] | 222 "contexts": ["blessed_extension"] |
218 }, | 223 }, |
219 "commandLinePrivate": { | 224 "commandLinePrivate": { |
220 "dependencies": ["permission:commandLinePrivate"], | 225 "dependencies": ["permission:commandLinePrivate"], |
221 "contexts": ["blessed_extension"] | 226 "contexts": ["blessed_extension"] |
222 }, | 227 }, |
223 "commands": { | 228 "commands": { |
224 "dependencies": ["manifest:commands"], | 229 "dependencies": ["manifest:commands"], |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 // Any webpage can use the webstore API. | 789 // Any webpage can use the webstore API. |
785 "matches": ["<all_urls>"] | 790 "matches": ["<all_urls>"] |
786 }, | 791 }, |
787 "webstorePrivate": { | 792 "webstorePrivate": { |
788 "dependencies": ["permission:webstorePrivate"], | 793 "dependencies": ["permission:webstorePrivate"], |
789 // NOTE: even though this is only used by the webstore hosted app, which | 794 // NOTE: even though this is only used by the webstore hosted app, which |
790 // normally would mean blessed_web_page, component hosted apps are actually | 795 // normally would mean blessed_web_page, component hosted apps are actually |
791 // given the blessed_extension denomination. Confusing. | 796 // given the blessed_extension denomination. Confusing. |
792 "contexts": ["blessed_extension"] | 797 "contexts": ["blessed_extension"] |
793 }, | 798 }, |
794 "webViewExperimentalInternal": [{ | |
795 "internal": true, | |
796 "channel": "dev", | |
797 "contexts": ["blessed_extension"], | |
798 "dependencies": ["permission:webview"] | |
799 }, | |
800 { | |
801 "internal": true, | |
802 "channel": "stable", | |
803 "contexts": ["blessed_extension"], | |
804 "dependencies": ["permission:webview"], | |
805 "whitelist": [ | |
806 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", | |
807 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", | |
808 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", | |
809 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" | |
810 ] | |
811 }], | |
812 "webViewInternal": [{ | |
813 "internal": true, | |
814 "dependencies": ["permission:webview"], | |
815 "contexts": ["blessed_extension"] | |
816 }, { | |
817 // Component extensions can use the webViewInternal API from iframes. | |
818 "location": "component", | |
819 "internal": true, | |
820 "dependencies": ["permission:webview"], | |
821 "contexts": ["unblessed_extension"] | |
822 }], | |
823 "webViewRequest": [{ | 799 "webViewRequest": [{ |
824 "dependencies": ["permission:webview"], | 800 "dependencies": ["permission:webview"], |
825 "contexts": ["blessed_extension"] | 801 "contexts": ["blessed_extension"] |
826 }, { | 802 }, { |
827 // Component extensions can use the webViewRequest API from iframes. | 803 // Component extensions can use the webViewRequest API from iframes. |
828 "location": "component", | 804 "location": "component", |
829 "dependencies": ["permission:webview"], | 805 "dependencies": ["permission:webview"], |
830 "contexts": ["unblessed_extension"] | 806 "contexts": ["unblessed_extension"] |
831 }], | 807 }], |
| 808 "windows": { |
| 809 "dependencies": ["api:tabs"], |
| 810 "contexts": ["blessed_extension"] |
| 811 }, |
832 "webviewTag": { | 812 "webviewTag": { |
833 "channel": "stable", | 813 "channel": "stable", |
834 "dependencies": ["permission:webview"], | 814 "dependencies": ["permission:webview"], |
835 "contexts": ["blessed_extension"] | 815 "contexts": ["blessed_extension"] |
836 }, | |
837 "windows": { | |
838 "dependencies": ["api:tabs"], | |
839 "contexts": ["blessed_extension"] | |
840 } | 816 } |
841 } | 817 } |
OLD | NEW |