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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 "contexts": ["blessed_extension"] | 259 "contexts": ["blessed_extension"] |
260 }, | 260 }, |
261 "sockets.udp": { | 261 "sockets.udp": { |
262 "dependencies": ["manifest:sockets"], | 262 "dependencies": ["manifest:sockets"], |
263 "contexts": ["blessed_extension"] | 263 "contexts": ["blessed_extension"] |
264 }, | 264 }, |
265 "storage": { | 265 "storage": { |
266 "dependencies": ["permission:storage"], | 266 "dependencies": ["permission:storage"], |
267 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 267 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
268 }, | 268 }, |
| 269 "surfaceWorkerInternal": { |
| 270 "internal": true, |
| 271 "channel": "trunk", |
| 272 "contexts": "all", |
| 273 "matches": ["<all_urls>"] |
| 274 }, |
269 "system.cpu": { | 275 "system.cpu": { |
270 "dependencies": ["permission:system.cpu"], | 276 "dependencies": ["permission:system.cpu"], |
271 "contexts": ["blessed_extension"] | 277 "contexts": ["blessed_extension"] |
272 }, | 278 }, |
273 "system.display": { | 279 "system.display": { |
274 "dependencies": ["permission:system.display"], | 280 "dependencies": ["permission:system.display"], |
275 "contexts": ["blessed_extension"] | 281 "contexts": ["blessed_extension"] |
276 }, | 282 }, |
277 "system.memory": { | 283 "system.memory": { |
278 "dependencies": ["permission:system.memory"], | 284 "dependencies": ["permission:system.memory"], |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 "contexts": ["webui"], | 379 "contexts": ["webui"], |
374 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 380 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
375 }], | 381 }], |
376 "webViewRequest": [{ | 382 "webViewRequest": [{ |
377 "dependencies": ["permission:webview"], | 383 "dependencies": ["permission:webview"], |
378 "contexts": ["blessed_extension"] | 384 "contexts": ["blessed_extension"] |
379 }, { | 385 }, { |
380 "channel": "stable", | 386 "channel": "stable", |
381 "contexts": ["webui"], | 387 "contexts": ["webui"], |
382 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 388 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
383 }], | 389 }] |
384 "workerFrameInternal": { | |
385 "internal": true, | |
386 "channel": "trunk", | |
387 "contexts": "all", | |
388 "matches": ["<all_urls>"] | |
389 } | |
390 } | 390 } |
OLD | NEW |