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": { | 196 "chromeWebViewInternal": [{ |
197 "internal": true, | 197 "internal": true, |
198 "dependencies": ["permission:webview"], | 198 "dependencies": ["permission:webview"], |
199 "contexts": ["blessed_extension"] | 199 "contexts": ["blessed_extension"] |
200 }, | 200 }, { |
201 "internal": true, | |
202 "channel": "dev", | |
203 "contexts": ["webui"], | |
204 "matches": ["chrome://chrome-signin/*"] | |
205 }], | |
201 "cloudPrintPrivate": { | 206 "cloudPrintPrivate": { |
202 "dependencies": ["permission:cloudPrintPrivate"], | 207 "dependencies": ["permission:cloudPrintPrivate"], |
203 "contexts": ["blessed_extension"] | 208 "contexts": ["blessed_extension"] |
204 }, | 209 }, |
205 "commandLinePrivate": { | 210 "commandLinePrivate": { |
206 "dependencies": ["permission:commandLinePrivate"], | 211 "dependencies": ["permission:commandLinePrivate"], |
207 "contexts": ["blessed_extension"] | 212 "contexts": ["blessed_extension"] |
208 }, | 213 }, |
209 "commands": { | 214 "commands": { |
210 "dependencies": ["manifest:commands"], | 215 "dependencies": ["manifest:commands"], |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
724 "contexts": ["blessed_extension"] | 729 "contexts": ["blessed_extension"] |
725 }, | 730 }, |
726 "webRequestInternal": [{ | 731 "webRequestInternal": [{ |
727 "internal": true, | 732 "internal": true, |
728 "channel": "stable", | 733 "channel": "stable", |
729 "contexts": ["blessed_extension"] | 734 "contexts": ["blessed_extension"] |
730 }, { | 735 }, { |
731 // webview uses webRequestInternal API. | 736 // webview uses webRequestInternal API. |
732 "channel": "stable", | 737 "channel": "stable", |
733 "internal": true, | 738 "internal": true, |
734 "dependencies": ["permission:webview"], | 739 "contexts": ["webui"], |
Ken Rockot(use gerrit already)
2014/09/22 20:47:32
Why are you replacing this feature instead of just
guohui
2014/09/22 20:58:58
because i added this feature for some old code tha
| |
735 "contexts": ["unblessed_extension"] | 740 "matches": ["chrome://chrome-signin/*"] |
736 }], | 741 }], |
737 "webrtcAudioPrivate": { | 742 "webrtcAudioPrivate": { |
738 "dependencies": ["permission:webrtcAudioPrivate"], | 743 "dependencies": ["permission:webrtcAudioPrivate"], |
739 "contexts": ["blessed_extension"] | 744 "contexts": ["blessed_extension"] |
740 }, | 745 }, |
741 "webrtcLoggingPrivate": { | 746 "webrtcLoggingPrivate": { |
742 "dependencies": ["permission:webrtcLoggingPrivate"], | 747 "dependencies": ["permission:webrtcLoggingPrivate"], |
743 "contexts": ["blessed_extension"] | 748 "contexts": ["blessed_extension"] |
744 }, | 749 }, |
745 "webstore": { | 750 "webstore": { |
(...skipping 12 matching lines...) Expand all Loading... | |
758 "dependencies": ["permission:webstorePrivate"], | 763 "dependencies": ["permission:webstorePrivate"], |
759 // NOTE: even though this is only used by the webstore hosted app, which | 764 // NOTE: even though this is only used by the webstore hosted app, which |
760 // normally would mean blessed_web_page, component hosted apps are actually | 765 // normally would mean blessed_web_page, component hosted apps are actually |
761 // given the blessed_extension denomination. Confusing. | 766 // given the blessed_extension denomination. Confusing. |
762 "contexts": ["blessed_extension"] | 767 "contexts": ["blessed_extension"] |
763 }, | 768 }, |
764 "webViewRequest": [{ | 769 "webViewRequest": [{ |
765 "dependencies": ["permission:webview"], | 770 "dependencies": ["permission:webview"], |
766 "contexts": ["blessed_extension"] | 771 "contexts": ["blessed_extension"] |
767 }, { | 772 }, { |
768 // Component extensions can use the webViewRequest API from iframes. | 773 "channel": "stable", |
Ken Rockot(use gerrit already)
2014/09/22 20:47:32
Same question - why are you replacing an existing
guohui
2014/09/22 20:58:58
same as above.
| |
769 "location": "component", | 774 "contexts": ["webui"], |
770 "dependencies": ["permission:webview"], | 775 "matches": ["chrome://chrome-signin/*"] |
771 "contexts": ["unblessed_extension"] | |
772 }], | 776 }], |
773 "webviewTag": { | 777 "webviewTag": { |
774 "internal": true, | 778 "internal": true, |
775 "channel": "stable", | 779 "channel": "stable", |
776 "dependencies": ["permission:webview"], | 780 "dependencies": ["permission:webview"], |
777 "contexts": ["blessed_extension"] | 781 "contexts": ["blessed_extension"] |
778 }, | 782 }, |
779 "windows": { | 783 "windows": { |
780 "dependencies": ["api:tabs"], | 784 "dependencies": ["api:tabs"], |
781 "contexts": ["blessed_extension"] | 785 "contexts": ["blessed_extension"] |
782 } | 786 } |
783 } | 787 } |
OLD | NEW |