| 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 manifest keys implemented under src/extensions. | 5 // This features file defines manifest keys implemented under src/extensions. |
| 6 // See chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // well as feature.h, simple_feature.h, and feature_provider.h. | 7 // well as feature.h, simple_feature.h, and feature_provider.h. |
| 8 | 8 |
| 9 { | 9 { |
| 10 "action_handlers": { | 10 "action_handlers": { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 "channel": "stable", | 120 "channel": "stable", |
| 121 // Platform apps have a restricted content security policy that cannot be | 121 // Platform apps have a restricted content security policy that cannot be |
| 122 // overriden (except for a whitelist of exceptions, see the | 122 // overriden (except for a whitelist of exceptions, see the |
| 123 // app.content_security_policy whitelist). | 123 // app.content_security_policy whitelist). |
| 124 "extension_types": ["extension", "legacy_packaged_app"] | 124 "extension_types": ["extension", "legacy_packaged_app"] |
| 125 }, | 125 }, |
| 126 "current_locale": { | 126 "current_locale": { |
| 127 "channel": "stable", | 127 "channel": "stable", |
| 128 "extension_types": "all" | 128 "extension_types": "all" |
| 129 }, | 129 }, |
| 130 "declarative_net_request_rules" : { |
| 131 // TODO can manifest features have dependencies, can't see an example. |
| 132 "dependencies": ["permission:declarativeNetRequest"], |
| 133 "extension_types": ["extension", "legacy_packaged_app"] |
| 134 }, |
| 130 "default_locale": { | 135 "default_locale": { |
| 131 "channel": "stable", | 136 "channel": "stable", |
| 132 "extension_types": "all" | 137 "extension_types": "all" |
| 133 }, | 138 }, |
| 134 "description": { | 139 "description": { |
| 135 "channel": "stable", | 140 "channel": "stable", |
| 136 "extension_types": "all" | 141 "extension_types": "all" |
| 137 }, | 142 }, |
| 138 "externally_connectable": { | 143 "externally_connectable": { |
| 139 "channel": "stable", | 144 "channel": "stable", |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 "extension_types": ["platform_app"], | 336 "extension_types": ["platform_app"], |
| 332 "location": "component" | 337 "location": "component" |
| 333 } | 338 } |
| 334 ], | 339 ], |
| 335 "webview": { | 340 "webview": { |
| 336 "channel": "stable", | 341 "channel": "stable", |
| 337 "extension_types": ["platform_app"], | 342 "extension_types": ["platform_app"], |
| 338 "min_manifest_version": 2 | 343 "min_manifest_version": 2 |
| 339 } | 344 } |
| 340 } | 345 } |
| OLD | NEW |