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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "channel": "stable", | 66 "channel": "stable", |
67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
68 "contexts": ["blessed_extension"] | 68 "contexts": ["blessed_extension"] |
69 }, | 69 }, |
70 "guestViewInternal": [ | 70 "guestViewInternal": [ |
71 { | 71 { |
72 "internal": true, | 72 "internal": true, |
73 "channel": "stable", | 73 "channel": "stable", |
74 "contexts": ["blessed_extension"] | 74 "contexts": ["blessed_extension"] |
75 }, { | 75 }, { |
76 // Component extensions can use the guestViewInternal API from iframes. | |
77 "location": "component", | |
78 "internal": true, | |
79 "dependencies": ["permission:webview"], | |
80 "contexts": ["unblessed_extension"] | |
81 }, { | |
82 "internal": true, | 76 "internal": true, |
83 "channel": "trunk", | 77 "channel": "trunk", |
84 "contexts": ["webui"], | 78 "contexts": ["webui"], |
85 "matches": ["chrome://extensions-frame/*", "chrome://extensions/*"] | 79 "matches": [ |
| 80 "chrome://extensions-frame/*", |
| 81 "chrome://extensions/*", |
| 82 "chrome://chrome-signin/*" |
| 83 ] |
86 } | 84 } |
87 ], | 85 ], |
88 "hid": { | 86 "hid": { |
89 "dependencies": ["permission:hid"], | 87 "dependencies": ["permission:hid"], |
90 "contexts": ["blessed_extension"] | 88 "contexts": ["blessed_extension"] |
91 }, | 89 }, |
92 "power": { | 90 "power": { |
93 "dependencies": ["permission:power"], | 91 "dependencies": ["permission:power"], |
94 "contexts": ["blessed_extension"] | 92 "contexts": ["blessed_extension"] |
95 }, | 93 }, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", | 243 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", |
246 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", | 244 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", |
247 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" | 245 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" |
248 ] | 246 ] |
249 }], | 247 }], |
250 "webViewInternal": [{ | 248 "webViewInternal": [{ |
251 "internal": true, | 249 "internal": true, |
252 "dependencies": ["permission:webview"], | 250 "dependencies": ["permission:webview"], |
253 "contexts": ["blessed_extension"] | 251 "contexts": ["blessed_extension"] |
254 }, { | 252 }, { |
255 // Component extensions can use the webViewInternal API from iframes. | |
256 "location": "component", | |
257 "internal": true, | 253 "internal": true, |
258 "dependencies": ["permission:webview"], | 254 "channel": "dev", |
259 "contexts": ["unblessed_extension"] | 255 "contexts": ["webui"], |
| 256 "matches": ["chrome://chrome-signin/*"] |
260 }] | 257 }] |
261 } | 258 } |
OLD | NEW |