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 // See c/c/e/features/* to understand this file, in particular feature.h, | 5 // This features file defines manifest keys implemented under src/chrome. |
6 // simple_feature.h, and base_feature_provider.h. | 6 // See extensions/common/features/* to understand this file, in particular |
| 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
7 | 8 |
8 { | 9 { |
9 "app": { | 10 "app": { |
10 "channel": "stable", | 11 "channel": "stable", |
11 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] | 12 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] |
12 }, | 13 }, |
13 // The default platform app CSP can only be overridden by whitelisted apps. | |
14 // This is a separate key from the top-level content_security_policy one since | |
15 // we can't combine type restrictions with whitelisted ID restrictions. If | |
16 // there is a need for additional whitelisted entries, the feature system | |
17 // should instead be extended to support OR-ing of restrictions. | |
18 "app.content_security_policy": { | |
19 "channel": "stable", | |
20 "extension_types": ["platform_app"], | |
21 "min_manifest_version": 2, | |
22 "whitelist": [ | |
23 "nckgahadagoaajjgafhacjanaoiihapd", // Google Talk prod | |
24 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Google Talk beta | |
25 "ppleadejekpmccmnpjdimmlfljlkdfej", // Google Talk alpha | |
26 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Google Talk debug | |
27 "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger | |
28 ] | |
29 }, | |
30 "app.background": { | |
31 "channel": "stable", | |
32 "extension_types": ["platform_app"], | |
33 "min_manifest_version": 2 | |
34 }, | |
35 "app.isolation": { | 14 "app.isolation": { |
36 "channel": "stable", | 15 "channel": "stable", |
37 // Platform apps always have isolated storage, thus they cannot specify it | 16 // Platform apps always have isolated storage, thus they cannot specify it |
38 // via the manifest. | 17 // via the manifest. |
39 "extension_types": ["legacy_packaged_app", "hosted_app"] | 18 "extension_types": ["legacy_packaged_app", "hosted_app"] |
40 }, | 19 }, |
41 "app.launch": { | 20 "app.launch": { |
42 "channel": "stable", | 21 "channel": "stable", |
43 "extension_types": ["legacy_packaged_app", "hosted_app"] | 22 "extension_types": ["legacy_packaged_app", "hosted_app"] |
44 }, | 23 }, |
45 "app.service_worker": { | 24 "app.service_worker": { |
46 "channel": "trunk", // When changing update tests: http://crbug.com/353209 | 25 "channel": "trunk", // When changing update tests: http://crbug.com/353209 |
47 "extension_types": ["platform_app"] | 26 "extension_types": ["platform_app"] |
48 }, | 27 }, |
49 "author": { | 28 "author": { |
50 "channel": "stable", | 29 "channel": "stable", |
51 "extension_types": "all" | 30 "extension_types": "all" |
52 }, | 31 }, |
53 "background": { | |
54 "channel": "stable", | |
55 "extension_types": [ | |
56 // Platform apps specify their background page via app.background. | |
57 "extension", "legacy_packaged_app", "hosted_app" | |
58 ] | |
59 }, | |
60 "background.persistent": { | |
61 "channel": "stable", | |
62 "extension_types": [ | |
63 "extension", "legacy_packaged_app" | |
64 ], | |
65 "min_manifest_version": 2 | |
66 }, | |
67 "background_page": { | |
68 "channel": "stable", | |
69 "extension_types": [ | |
70 "extension", "legacy_packaged_app", "hosted_app" | |
71 ], | |
72 "max_manifest_version": 1 | |
73 }, | |
74 "bluetooth": { | 32 "bluetooth": { |
75 // Note: The "bluetooth" manifest permission is used by the | 33 // Note: The "bluetooth" manifest permission is used by the |
76 // chrome.bluetooth, chrome.bluetoothSocket and chrome.bluetoothLowEnergy | 34 // chrome.bluetooth, chrome.bluetoothSocket and chrome.bluetoothLowEnergy |
77 // APIs. Split this property if the APIs get released at different dates. | 35 // APIs. Split this property if the APIs get released at different dates. |
78 "channel": "dev", | 36 "channel": "dev", |
79 "extension_types": ["platform_app"] | 37 "extension_types": ["platform_app"] |
80 }, | 38 }, |
81 "browser_action": { | 39 "browser_action": { |
82 "channel": "stable", | 40 "channel": "stable", |
83 "extension_types": ["extension"] | 41 "extension_types": ["extension"] |
(...skipping 29 matching lines...) Expand all Loading... |
113 }, | 71 }, |
114 "commands": { | 72 "commands": { |
115 "channel": "stable", | 73 "channel": "stable", |
116 "extension_types": ["extension", "platform_app"], | 74 "extension_types": ["extension", "platform_app"], |
117 "min_manifest_version": 2 | 75 "min_manifest_version": 2 |
118 }, | 76 }, |
119 "content_pack": { | 77 "content_pack": { |
120 "channel": "dev", | 78 "channel": "dev", |
121 "extension_types": ["extension"] | 79 "extension_types": ["extension"] |
122 }, | 80 }, |
123 "content_security_policy": { | |
124 "channel": "stable", | |
125 // Platform apps have a restricted content security policy that cannot be | |
126 // overriden (except for a whitelist of exceptions, see the | |
127 // app.content_security_policy whitelist). | |
128 "extension_types": ["extension", "legacy_packaged_app"] | |
129 }, | |
130 "content_scripts": { | 81 "content_scripts": { |
131 "channel": "stable", | 82 "channel": "stable", |
132 "extension_types": ["extension", "legacy_packaged_app"] | 83 "extension_types": ["extension", "legacy_packaged_app"] |
133 }, | 84 }, |
134 "converted_from_user_script": { | 85 "converted_from_user_script": { |
135 "channel": "stable", | 86 "channel": "stable", |
136 "extension_types": [ | 87 "extension_types": [ |
137 "extension", "legacy_packaged_app", "hosted_app" | 88 "extension", "legacy_packaged_app", "hosted_app" |
138 ], | 89 ], |
139 "no_doc": true | 90 "no_doc": true |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 "extension_types": ["extension", "legacy_packaged_app"] | 178 "extension_types": ["extension", "legacy_packaged_app"] |
228 }, | 179 }, |
229 "icons": { | 180 "icons": { |
230 "channel": "stable", | 181 "channel": "stable", |
231 "extension_types": "all" | 182 "extension_types": "all" |
232 }, | 183 }, |
233 "import": { | 184 "import": { |
234 "channel": "stable", | 185 "channel": "stable", |
235 "extension_types": "all" | 186 "extension_types": "all" |
236 }, | 187 }, |
237 "incognito": [ | |
238 { | |
239 "channel": "stable", | |
240 "extension_types": ["extension", "legacy_packaged_app"] | |
241 }, | |
242 { | |
243 "channel": "stable", | |
244 "extension_types": ["platform_app"], | |
245 "location": "component" | |
246 } | |
247 ], | |
248 "input_components": { | 188 "input_components": { |
249 "channel": "stable", | 189 "channel": "stable", |
250 "extension_types": ["extension", "legacy_packaged_app"] | 190 "extension_types": ["extension", "legacy_packaged_app"] |
251 }, | 191 }, |
252 "key": { | 192 "key": { |
253 "channel": "stable", | 193 "channel": "stable", |
254 "extension_types": "all" | 194 "extension_types": "all" |
255 }, | 195 }, |
256 "kiosk_enabled": { | |
257 "channel": "stable", | |
258 "extension_types": [ | |
259 "platform_app" | |
260 ] | |
261 }, | |
262 "kiosk_only": { | |
263 "channel": "dev", | |
264 "extension_types": [ | |
265 "platform_app" | |
266 ] | |
267 }, | |
268 "manifest_version": { | 196 "manifest_version": { |
269 "channel": "stable", | 197 "channel": "stable", |
270 "extension_types": "all" | 198 "extension_types": "all" |
271 }, | 199 }, |
272 "media_galleries_handlers": { | 200 "media_galleries_handlers": { |
273 "channel": "dev", | 201 "channel": "dev", |
274 "extension_types": ["platform_app"] | 202 "extension_types": ["platform_app"] |
275 }, | 203 }, |
276 "mime_types": { | 204 "mime_types": { |
277 "channel": "stable", | 205 "channel": "stable", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 "whitelist": [ | 243 "whitelist": [ |
316 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests | 244 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests |
317 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now | 245 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now |
318 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app. | 246 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app. |
319 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C", | 247 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C", |
320 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA", | 248 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA", |
321 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these. | 249 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these. |
322 "E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715 | 250 "E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715 |
323 ] | 251 ] |
324 }, | 252 }, |
325 "offline_enabled": { | |
326 "channel": "stable", | |
327 "extension_types": [ | |
328 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | |
329 ] | |
330 }, | |
331 "omnibox": { | 253 "omnibox": { |
332 "channel": "stable", | 254 "channel": "stable", |
333 "extension_types": ["extension", "legacy_packaged_app"] | 255 "extension_types": ["extension", "legacy_packaged_app"] |
334 }, | 256 }, |
335 "optional_permissions": { | 257 "optional_permissions": { |
336 "channel": "stable", | 258 "channel": "stable", |
337 "extension_types": [ | 259 "extension_types": [ |
338 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | 260 "extension", "legacy_packaged_app", "hosted_app", "platform_app" |
339 ] | 261 ] |
340 }, | 262 }, |
(...skipping 25 matching lines...) Expand all Loading... |
366 "plugins": { | 288 "plugins": { |
367 "channel": "stable", | 289 "channel": "stable", |
368 "extension_types": ["extension", "legacy_packaged_app", "hosted_app"] | 290 "extension_types": ["extension", "legacy_packaged_app", "hosted_app"] |
369 }, | 291 }, |
370 "requirements": { | 292 "requirements": { |
371 "channel": "stable", | 293 "channel": "stable", |
372 "extension_types": [ | 294 "extension_types": [ |
373 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | 295 "extension", "legacy_packaged_app", "hosted_app", "platform_app" |
374 ] | 296 ] |
375 }, | 297 }, |
376 "sandbox": { | |
377 "channel": "stable", | |
378 "extension_types": [ | |
379 "extension", "platform_app", "legacy_packaged_app" | |
380 ], | |
381 "min_manifest_version": 2 | |
382 }, | |
383 "script_badge": { | 298 "script_badge": { |
384 "channel": "trunk", | 299 "channel": "trunk", |
385 "extension_types": ["extension"] | 300 "extension_types": ["extension"] |
386 }, | 301 }, |
387 "short_name": { | 302 "short_name": { |
388 "channel": "stable", | 303 "channel": "stable", |
389 "extension_types": "all" | 304 "extension_types": "all" |
390 }, | 305 }, |
391 "signature": { | 306 "signature": { |
392 "channel": "stable", | 307 "channel": "stable", |
393 "extension_types": "all" | 308 "extension_types": "all" |
394 }, | 309 }, |
395 "sockets": { | |
396 "channel": "stable", | |
397 "extension_types": ["platform_app"] | |
398 }, | |
399 "spellcheck": { | 310 "spellcheck": { |
400 "channel": "dev", | 311 "channel": "dev", |
401 "extension_types": ["extension"] | 312 "extension_types": ["extension"] |
402 }, | 313 }, |
403 "storage": { | 314 "storage": { |
404 "channel": "stable", | 315 "channel": "stable", |
405 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 316 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
406 "min_manifest_version": 2 | 317 "min_manifest_version": 2 |
407 }, | 318 }, |
408 "system_indicator": { | 319 "system_indicator": { |
(...skipping 12 matching lines...) Expand all Loading... |
421 "channel": "stable", | 332 "channel": "stable", |
422 "extension_types": "all" | 333 "extension_types": "all" |
423 }, | 334 }, |
424 "url_handlers": { | 335 "url_handlers": { |
425 "channel": "stable", | 336 "channel": "stable", |
426 "extension_types": ["platform_app"] | 337 "extension_types": ["platform_app"] |
427 }, | 338 }, |
428 "version": { | 339 "version": { |
429 "channel": "stable", | 340 "channel": "stable", |
430 "extension_types": "all" | 341 "extension_types": "all" |
431 }, | |
432 "web_accessible_resources": [ | |
433 { | |
434 "channel": "stable", | |
435 "extension_types": [ | |
436 "extension", "legacy_packaged_app", "hosted_app" | |
437 ] | |
438 }, | |
439 { | |
440 "channel": "stable", | |
441 "extension_types": ["platform_app"], | |
442 "location": "component" | |
443 } | |
444 ], | |
445 "webview": { | |
446 "channel": "stable", | |
447 "extension_types": ["platform_app"], | |
448 "min_manifest_version": 2 | |
449 } | 342 } |
450 } | 343 } |
OLD | NEW |