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