OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/extensions. | 5 // This features file defines extension APIs implemented under src/extensions. |
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 "storage": { | 121 "storage": { |
122 "dependencies": ["permission:storage"], | 122 "dependencies": ["permission:storage"], |
123 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 123 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
124 }, | 124 }, |
125 "test": [{ | 125 "test": [{ |
126 "internal": true, | 126 "internal": true, |
127 "channel": "stable", | 127 "channel": "stable", |
128 "extension_types": "all", | 128 "extension_types": "all", |
129 // Everything except web pages and WebUI. WebUI is declared in a separate | 129 // Everything except web pages and WebUI. WebUI is declared in a separate |
130 // rule to keep the "matches" property isolated. | 130 // rule to keep the "matches" property isolated. |
131 "contexts": ["blessed_extension", "content_script", "unblessed_extension"] | 131 "contexts": [ |
| 132 "blessed_extension", |
| 133 "blessed_web_page", |
| 134 "content_script", |
| 135 "unblessed_extension" |
| 136 ] |
132 }, { | 137 }, { |
133 "internal": true, | 138 "internal": true, |
134 "channel": "stable", | 139 "channel": "stable", |
135 "contexts": ["webui"], | 140 "contexts": ["webui"], |
136 "matches": [ | 141 "matches": [ |
137 "chrome://extensions-frame/*" | 142 "chrome://extensions-frame/*" |
138 ] | 143 ] |
139 }], | 144 }], |
140 "types": { | 145 "types": { |
141 "channel": "stable", | 146 "channel": "stable", |
142 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 147 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
143 "contexts": ["blessed_extension"] | 148 "contexts": ["blessed_extension"] |
144 }, | 149 }, |
145 "types.private": { | 150 "types.private": { |
146 "channel": "dev", | 151 "channel": "dev", |
147 "extension_types": ["extension"], | 152 "extension_types": ["extension"], |
148 "location": "component" | 153 "location": "component" |
149 }, | 154 }, |
150 "usb": { | 155 "usb": { |
151 "dependencies": ["permission:usb"], | 156 "dependencies": ["permission:usb"], |
152 "contexts": ["blessed_extension"] | 157 "contexts": ["blessed_extension"] |
153 } | 158 } |
154 } | 159 } |
OLD | NEW |