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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 }, | 241 }, |
242 "types.private": { | 242 "types.private": { |
243 "channel": "dev", | 243 "channel": "dev", |
244 "extension_types": ["extension"], | 244 "extension_types": ["extension"], |
245 "location": "component" | 245 "location": "component" |
246 }, | 246 }, |
247 "usb": { | 247 "usb": { |
248 "dependencies": ["permission:usb"], | 248 "dependencies": ["permission:usb"], |
249 "contexts": ["blessed_extension"] | 249 "contexts": ["blessed_extension"] |
250 }, | 250 }, |
251 "usbPrivate": { | |
252 "channel": "dev", | |
253 "contexts": ["webui"] | |
254 }, | |
255 "webRequest": { | 251 "webRequest": { |
256 "dependencies": ["permission:webRequest"], | 252 "dependencies": ["permission:webRequest"], |
257 "contexts": ["blessed_extension"] | 253 "contexts": ["blessed_extension"] |
258 }, | 254 }, |
259 "webRequestInternal": [{ | 255 "webRequestInternal": [{ |
260 "internal": true, | 256 "internal": true, |
261 "channel": "stable", | 257 "channel": "stable", |
262 "contexts": ["blessed_extension"] | 258 "contexts": ["blessed_extension"] |
263 }, { | 259 }, { |
264 // webview uses webRequestInternal API. | 260 // webview uses webRequestInternal API. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 }], | 293 }], |
298 "webViewRequest": [{ | 294 "webViewRequest": [{ |
299 "dependencies": ["permission:webview"], | 295 "dependencies": ["permission:webview"], |
300 "contexts": ["blessed_extension"] | 296 "contexts": ["blessed_extension"] |
301 }, { | 297 }, { |
302 "channel": "stable", | 298 "channel": "stable", |
303 "contexts": ["webui"], | 299 "contexts": ["webui"], |
304 "matches": ["chrome://chrome-signin/*"] | 300 "matches": ["chrome://chrome-signin/*"] |
305 }] | 301 }] |
306 } | 302 } |
OLD | NEW |