| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "extension_types": ["extension"], | 182 "extension_types": ["extension"], |
| 183 "location": "component" | 183 "location": "component" |
| 184 }, | 184 }, |
| 185 "usb": { | 185 "usb": { |
| 186 "dependencies": ["permission:usb"], | 186 "dependencies": ["permission:usb"], |
| 187 "contexts": ["blessed_extension"] | 187 "contexts": ["blessed_extension"] |
| 188 }, | 188 }, |
| 189 "usbPrivate": { | 189 "usbPrivate": { |
| 190 "channel": "dev", | 190 "channel": "dev", |
| 191 "contexts": ["webui"] | 191 "contexts": ["webui"] |
| 192 } | 192 }, |
| 193 "webViewExperimentalInternal": [{ |
| 194 "internal": true, |
| 195 "channel": "dev", |
| 196 "contexts": ["blessed_extension"], |
| 197 "dependencies": ["permission:webview"] |
| 198 }, |
| 199 { |
| 200 "internal": true, |
| 201 "channel": "stable", |
| 202 "contexts": ["blessed_extension"], |
| 203 "dependencies": ["permission:webview"], |
| 204 "whitelist": [ |
| 205 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", |
| 206 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", |
| 207 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", |
| 208 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" |
| 209 ] |
| 210 }], |
| 211 "webViewInternal": [{ |
| 212 "internal": true, |
| 213 "dependencies": ["permission:webview"], |
| 214 "contexts": ["blessed_extension"] |
| 215 }, { |
| 216 // Component extensions can use the webViewInternal API from iframes. |
| 217 "location": "component", |
| 218 "internal": true, |
| 219 "dependencies": ["permission:webview"], |
| 220 "contexts": ["unblessed_extension"] |
| 221 }] |
| 193 } | 222 } |
| OLD | NEW |