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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 "content_script", | 52 "content_script", |
53 "web_page", | 53 "web_page", |
54 "blessed_web_page" | 54 "blessed_web_page" |
55 ], | 55 ], |
56 "matches": [ | 56 "matches": [ |
57 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" | 57 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" |
58 ] | 58 ] |
59 }, | 59 }, |
60 "appViewInternal": { | 60 "appViewInternal": { |
61 "internal": true, | 61 "internal": true, |
62 "channel": "dev", | 62 "contexts": ["blessed_extension"], |
63 "contexts": ["blessed_extension"] | 63 "dependencies": ["permission:appview"] |
64 }, | 64 }, |
65 "app.window": { | 65 "app.window": { |
66 "channel": "stable", | 66 "channel": "stable", |
67 "contexts": ["blessed_extension"], | 67 "contexts": ["blessed_extension"], |
68 "extension_types": ["platform_app"], | 68 "extension_types": ["platform_app"], |
69 "noparent": true | 69 "noparent": true |
70 }, | 70 }, |
71 "app.currentWindowInternal": { | 71 "app.currentWindowInternal": { |
72 "noparent": true, | 72 "noparent": true, |
73 "internal": true, | 73 "internal": true, |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
357 "extension.sendNativeMessage": { | 357 "extension.sendNativeMessage": { |
358 "dependencies": ["permission:nativeMessaging"] | 358 "dependencies": ["permission:nativeMessaging"] |
359 }, | 359 }, |
360 "extension.sendRequest": { | 360 "extension.sendRequest": { |
361 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 361 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
362 }, | 362 }, |
363 "extensionOptionsInternal": { | 363 "extensionOptionsInternal": { |
364 "internal": true, | 364 "internal": true, |
365 "contexts": ["blessed_extension"], | 365 "contexts": ["blessed_extension"], |
366 "dependencies": ["permission:embeddedExtensionOptions"] | 366 "dependencies": ["permission:embeddedExtensionOptions"] |
367 }, | 367 }, |
not at google - send to devlin
2014/07/31 22:07:46
e.g. I would change this rule to be:
"extensionOp
| |
368 // This is not a real API, only here for documentation purposes. | 368 // This is not a real API, only here for documentation purposes. |
369 // See http://crbug.com/275944 for background. | 369 // See http://crbug.com/275944 for background. |
370 "extensionsManifestTypes": { | 370 "extensionsManifestTypes": { |
371 "internal": true, | 371 "internal": true, |
372 "channel": "stable", | 372 "channel": "stable", |
373 "contexts": ["blessed_extension"] | 373 "contexts": ["blessed_extension"] |
374 }, | 374 }, |
375 "feedbackPrivate": { | 375 "feedbackPrivate": { |
376 "dependencies": ["permission:feedbackPrivate"], | 376 "dependencies": ["permission:feedbackPrivate"], |
377 "contexts": ["blessed_extension"] | 377 "contexts": ["blessed_extension"] |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
794 "internal": true, | 794 "internal": true, |
795 "channel": "stable", | 795 "channel": "stable", |
796 "dependencies": ["permission:webview"], | 796 "dependencies": ["permission:webview"], |
797 "contexts": ["blessed_extension"] | 797 "contexts": ["blessed_extension"] |
798 }, | 798 }, |
799 "windows": { | 799 "windows": { |
800 "dependencies": ["api:tabs"], | 800 "dependencies": ["api:tabs"], |
801 "contexts": ["blessed_extension"] | 801 "contexts": ["blessed_extension"] |
802 } | 802 } |
803 } | 803 } |
OLD | NEW |