| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 "contexts": ["blessed_extension"] | 119 "contexts": ["blessed_extension"] |
| 120 }, | 120 }, |
| 121 // This is not a real API, only here for documentation purposes. | 121 // This is not a real API, only here for documentation purposes. |
| 122 // See http://crbug.com/275944 for background. | 122 // See http://crbug.com/275944 for background. |
| 123 "extensionTypes": { | 123 "extensionTypes": { |
| 124 "internal": true, | 124 "internal": true, |
| 125 "channel": "stable", | 125 "channel": "stable", |
| 126 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 126 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 127 "contexts": ["blessed_extension"] | 127 "contexts": ["blessed_extension"] |
| 128 }, | 128 }, |
| 129 "extensionViewInternal": { |
| 130 "internal": true, |
| 131 "contexts": ["blessed_extension"], |
| 132 "dependencies": ["permission:extensionview"] |
| 133 }, |
| 129 "events": { | 134 "events": { |
| 130 "internal": true, | 135 "internal": true, |
| 131 "channel": "stable", | 136 "channel": "stable", |
| 132 "extension_types": ["platform_app", "extension"], | 137 "extension_types": ["platform_app", "extension"], |
| 133 "contexts": "all", | 138 "contexts": "all", |
| 134 "matches": ["<all_urls>"] | 139 "matches": ["<all_urls>"] |
| 135 }, | 140 }, |
| 136 "guestViewInternal": [ | 141 "guestViewInternal": [ |
| 137 { | 142 { |
| 138 "internal": true, | 143 "internal": true, |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 }], | 424 }], |
| 420 "webViewRequest": [{ | 425 "webViewRequest": [{ |
| 421 "dependencies": ["permission:webview"], | 426 "dependencies": ["permission:webview"], |
| 422 "contexts": ["blessed_extension"] | 427 "contexts": ["blessed_extension"] |
| 423 }, { | 428 }, { |
| 424 "channel": "stable", | 429 "channel": "stable", |
| 425 "contexts": ["webui"], | 430 "contexts": ["webui"], |
| 426 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 431 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
| 427 }] | 432 }] |
| 428 } | 433 } |
| OLD | NEW |