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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 }, | 108 }, |
109 "diagnostics": { | 109 "diagnostics": { |
110 "dependencies": ["permission:diagnostics"], | 110 "dependencies": ["permission:diagnostics"], |
111 "extension_types": ["platform_app"], | 111 "extension_types": ["platform_app"], |
112 "contexts": ["blessed_extension"] | 112 "contexts": ["blessed_extension"] |
113 }, | 113 }, |
114 "dns": { | 114 "dns": { |
115 "dependencies": ["permission:dns"], | 115 "dependencies": ["permission:dns"], |
116 "contexts": ["blessed_extension"] | 116 "contexts": ["blessed_extension"] |
117 }, | 117 }, |
| 118 "documentScan": { |
| 119 "platforms": ["chromeos"], |
| 120 "dependencies": ["permission:documentScan"], |
| 121 "contexts": ["blessed_extension"] |
| 122 }, |
118 // This is not a real API, only here for documentation purposes. | 123 // This is not a real API, only here for documentation purposes. |
119 // See http://crbug.com/275944 for background. | 124 // See http://crbug.com/275944 for background. |
120 "extensionTypes": { | 125 "extensionTypes": { |
121 "internal": true, | 126 "internal": true, |
122 "channel": "stable", | 127 "channel": "stable", |
123 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 128 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
124 "contexts": ["blessed_extension"] | 129 "contexts": ["blessed_extension"] |
125 }, | 130 }, |
126 "extensionViewInternal": { | 131 "extensionViewInternal": { |
127 "internal": true, | 132 "internal": true, |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 }], | 434 }], |
430 "webViewRequest": [{ | 435 "webViewRequest": [{ |
431 "dependencies": ["permission:webview"], | 436 "dependencies": ["permission:webview"], |
432 "contexts": ["blessed_extension"] | 437 "contexts": ["blessed_extension"] |
433 }, { | 438 }, { |
434 "channel": "stable", | 439 "channel": "stable", |
435 "contexts": ["webui"], | 440 "contexts": ["webui"], |
436 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 441 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
437 }] | 442 }] |
438 } | 443 } |
OLD | NEW |