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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
368 }, | 368 }, |
369 "extension.onRequest": { | 369 "extension.onRequest": { |
370 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 370 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
371 }, | 371 }, |
372 "extension.sendNativeMessage": { | 372 "extension.sendNativeMessage": { |
373 "dependencies": ["permission:nativeMessaging"] | 373 "dependencies": ["permission:nativeMessaging"] |
374 }, | 374 }, |
375 "extension.sendRequest": { | 375 "extension.sendRequest": { |
376 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 376 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
377 }, | 377 }, |
378 "extensionOptionsInternal": { | 378 "extensionOptionsInternal": [{ |
379 "internal": true, | 379 "internal": true, |
380 "contexts": ["blessed_extension"], | 380 "contexts": ["blessed_extension"], |
381 "dependencies": ["permission:embeddedExtensionOptions"] | 381 "dependencies": ["permission:embeddedExtensionOptions"] |
382 }, | 382 }, { |
383 "internal": true, | |
384 "channel": "trunk", | |
not at google - send to devlin
2014/08/12 00:08:23
no much point having this channel restriction real
ericzeng
2014/08/12 00:32:26
If I remove the channel restriction, it gives me t
not at google - send to devlin
2014/08/12 00:33:38
oh damn it. ok, put it back then...
I'll fix that
| |
385 "contexts": ["webui"], | |
386 "matches": ["chrome://extensions-frame/*", "chrome://extensions/*"] | |
387 }], | |
383 // This is not a real API, only here for documentation purposes. | 388 // This is not a real API, only here for documentation purposes. |
384 // See http://crbug.com/275944 for background. | 389 // See http://crbug.com/275944 for background. |
385 "extensionsManifestTypes": { | 390 "extensionsManifestTypes": { |
386 "internal": true, | 391 "internal": true, |
387 "channel": "stable", | 392 "channel": "stable", |
388 "contexts": ["blessed_extension"] | 393 "contexts": ["blessed_extension"] |
389 }, | 394 }, |
390 "feedbackPrivate": { | 395 "feedbackPrivate": { |
391 "dependencies": ["permission:feedbackPrivate"], | 396 "dependencies": ["permission:feedbackPrivate"], |
392 "contexts": ["blessed_extension"] | 397 "contexts": ["blessed_extension"] |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
446 "guestViewInternal": [{ | 451 "guestViewInternal": [{ |
447 "internal": true, | 452 "internal": true, |
448 "channel": "stable", | 453 "channel": "stable", |
449 "contexts": ["blessed_extension"] | 454 "contexts": ["blessed_extension"] |
450 }, { | 455 }, { |
451 // Component extensions can use the guestViewInternal API from iframes. | 456 // Component extensions can use the guestViewInternal API from iframes. |
452 "location": "component", | 457 "location": "component", |
453 "internal": true, | 458 "internal": true, |
454 "dependencies": ["permission:webview"], | 459 "dependencies": ["permission:webview"], |
455 "contexts": ["unblessed_extension"] | 460 "contexts": ["unblessed_extension"] |
461 }, { | |
462 "internal": true, | |
463 "channel": "trunk", | |
not at google - send to devlin
2014/08/12 00:08:23
ditto
ericzeng
2014/08/12 00:32:26
ditto
| |
464 "contexts": ["webui"], | |
465 "matches": ["chrome://extensions-frame/*", "chrome://extensions/*"] | |
456 }], | 466 }], |
457 "hangoutsPrivate": { | 467 "hangoutsPrivate": { |
458 "channel": "stable", | 468 "channel": "stable", |
459 "contexts": ["blessed_extension"], | 469 "contexts": ["blessed_extension"], |
460 "whitelist": [ | 470 "whitelist": [ |
461 // http://crbug.com/309737 | 471 // http://crbug.com/309737 |
462 "nckgahadagoaajjgafhacjanaoiihapd", | 472 "nckgahadagoaajjgafhacjanaoiihapd", |
463 "ljclpkphhpbpinifbeabbhlfddcpfdde", | 473 "ljclpkphhpbpinifbeabbhlfddcpfdde", |
464 "ppleadejekpmccmnpjdimmlfljlkdfej", | 474 "ppleadejekpmccmnpjdimmlfljlkdfej", |
465 "eggnbpckecmjlblplehfpjjdhhidfdoj", | 475 "eggnbpckecmjlblplehfpjjdhhidfdoj", |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
818 "internal": true, | 828 "internal": true, |
819 "channel": "stable", | 829 "channel": "stable", |
820 "dependencies": ["permission:webview"], | 830 "dependencies": ["permission:webview"], |
821 "contexts": ["blessed_extension"] | 831 "contexts": ["blessed_extension"] |
822 }, | 832 }, |
823 "windows": { | 833 "windows": { |
824 "dependencies": ["api:tabs"], | 834 "dependencies": ["api:tabs"], |
825 "contexts": ["blessed_extension"] | 835 "contexts": ["blessed_extension"] |
826 } | 836 } |
827 } | 837 } |
OLD | NEW |