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 manifest keys implemented under src/chrome. | 5 // This features file defines manifest keys 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 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | 9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: |
10 // | 10 // |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 "channel": "stable", | 89 "channel": "stable", |
90 "extension_types": ["extension", "legacy_packaged_app"] | 90 "extension_types": ["extension", "legacy_packaged_app"] |
91 }, | 91 }, |
92 "converted_from_user_script": { | 92 "converted_from_user_script": { |
93 "channel": "stable", | 93 "channel": "stable", |
94 "extension_types": [ | 94 "extension_types": [ |
95 "extension", "legacy_packaged_app", "hosted_app" | 95 "extension", "legacy_packaged_app", "hosted_app" |
96 ], | 96 ], |
97 "no_doc": true | 97 "no_doc": true |
98 }, | 98 }, |
| 99 "event_rules": { |
| 100 "channel": "stable", |
| 101 // "event_rules" does not grant any capabilities, it's just |
| 102 // an optimisation for any API which uses events, so it's safe |
| 103 // to expose to all extension types. |
| 104 "extension_types": "all" |
| 105 }, |
99 "devtools_page": { | 106 "devtools_page": { |
100 "channel": "stable", | 107 "channel": "stable", |
101 "extension_types": ["extension", "legacy_packaged_app"] | 108 "extension_types": ["extension", "legacy_packaged_app"] |
102 }, | 109 }, |
103 "display_in_launcher": [ | 110 "display_in_launcher": [ |
104 { | 111 { |
105 "channel": "stable", | 112 "channel": "stable", |
106 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"], | 113 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"], |
107 "location": "component" | 114 "location": "component" |
108 }, | 115 }, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 }, | 267 }, |
261 "update_url": { | 268 "update_url": { |
262 "channel": "stable", | 269 "channel": "stable", |
263 "extension_types": "all" | 270 "extension_types": "all" |
264 }, | 271 }, |
265 "url_handlers": { | 272 "url_handlers": { |
266 "channel": "stable", | 273 "channel": "stable", |
267 "extension_types": ["platform_app"] | 274 "extension_types": ["platform_app"] |
268 } | 275 } |
269 } | 276 } |
OLD | NEW |