Release the Settings API.
[chromium-blink-merge.git] / chrome / common / extensions / api / _manifest_features.json
blob24283bf9bca38946541295377e60da7bd225a749
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
3 // found in the LICENSE file.
5 // See c/c/e/features/* to understand this file, in particular feature.h,
6 // simple_feature.h, and base_feature_provider.h.
9   "app": {
10     "channel": "stable",
11     "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
12   },
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": {
36     "channel": "stable",
37     // Platform apps always have isolated storage, thus they cannot specify it
38     // via the manifest.
39     "extension_types": ["legacy_packaged_app", "hosted_app"]
40   },
41   "app.launch": {
42     "channel": "stable",
43     "extension_types": ["legacy_packaged_app", "hosted_app"]
44   },
45   "app.service_worker": {
46     "channel": "trunk",  // When changing update tests: http://crbug.com/353209
47     "extension_types": ["platform_app"]
48   },
49   "author": {
50     "channel": "stable",
51     "extension_types": "all"
52   },
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": {
75     "channel": "dev",
76     "extension_types": ["platform_app"]
77   },
78   "browser_action": {
79     "channel": "stable",
80     "extension_types": ["extension"]
81   },
82   "chrome_settings_overrides": [{
83     "channel": "stable",
84     "extension_types": ["extension"],
85     "platforms": ["win"]
86   }, {  // TODO(wittman): remove this section for M37.
87     "channel": "stable",
88     "extension_types": ["extension"],
89     "whitelist": [
90       "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
91       "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
92       "D57DE394F36DC1C3220E7604C575D29C51A6C495"  // http://crbug.com/319444
93     ]
94   }],
95   "chrome_ui_overrides": [{
96     "channel": "dev",
97     "extension_types": ["extension"]
98   }, {
99     "channel": "stable",
100     "extension_types": ["extension"],
101     "whitelist": [
102       "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
103       "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
104       "D57DE394F36DC1C3220E7604C575D29C51A6C495"  // http://crbug.com/319444
105     ]
106   }],
107   "chrome_url_overrides": {
108     "channel": "stable",
109     "extension_types": ["extension", "legacy_packaged_app"]
110   },
111   "commands": [
112     {
113       "channel": "dev",
114       "extension_types": ["platform_app"],
115       "min_manifest_version": 2
116     }, {
117       "channel": "stable",
118       "extension_types": ["extension"],
119       "min_manifest_version": 2
120     }
121   ],
122   "commands.global": [
123     {
124       "channel": "dev",
125       "extension_types": ["extension", "platform_app"],
126       "min_manifest_version": 2
127     }
128   ],
129   "content_pack": {
130     "channel": "dev",
131     "extension_types": ["extension"]
132   },
133   "content_security_policy": {
134     "channel": "stable",
135     // Platform apps have a restricted content security policy that cannot be
136     // overriden (except for a whitelist of exceptions, see the
137     // app.content_security_policy whitelist).
138     "extension_types": ["extension", "legacy_packaged_app"]
139   },
140   "content_scripts": {
141     "channel": "stable",
142     "extension_types": ["extension", "legacy_packaged_app"]
143   },
144   "converted_from_user_script": {
145     "channel": "stable",
146     "extension_types": [
147       "extension", "legacy_packaged_app", "hosted_app"
148     ],
149     "no_doc": true
150   },
151   "current_locale": {
152     "channel": "stable",
153     "extension_types": "all"
154   },
155   "default_locale": {
156     "channel": "stable",
157     "extension_types": "all"
158   },
159   "description": {
160     "channel": "stable",
161     "extension_types": "all"
162   },
163   "devtools_page": {
164     "channel": "stable",
165     "extension_types": ["extension", "legacy_packaged_app"]
166   },
167   "display_in_launcher": [
168     {
169       "channel": "stable",
170       "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
171       "location": "component"
172     },
173     {
174       "channel": "stable",
175       "extension_types": ["legacy_packaged_app", "platform_app"],
176       "whitelist": [
177         "nmmhkkegccagdldgiimedpiccmgmieda"
178       ]
179     }
180   ],
181   "display_in_new_tab_page": [
182     {
183       "channel": "stable",
184       "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
185       "location": "component"
186     },
187     {
188       "channel": "stable",
189       "extension_types": ["legacy_packaged_app", "platform_app"],
190       "whitelist": [
191         "nmmhkkegccagdldgiimedpiccmgmieda"
192       ]
193     }
194   ],
195   "export": [
196     {
197       "channel": "stable",
198       "extension_types": ["shared_module"],
199       "whitelist": [
200         "6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F",
201         "4EB74897CB187C7633357C2FE832E0AD6A44883A",
202         // Next four: http://crbug.com/357213
203         "mafeflapfdfljijmlienjedomfjfmhpd",
204         "ajchadodoajkaojdidnbblnfcdipbple",
205         "47F838F58D2A3B585DE50F29E3585D94999921D1",
206         "8EBAFB8DEB647EA2FC887A5E01EBD9BDC0FDC536"
207       ]
208     },
209     {
210       "channel": "dev",
211       "extension_types": ["shared_module"]
212     }
213   ],
214   "externally_connectable": {
215     "channel": "stable",
216     "extension_types": [
217       "extension", "hosted_app", "legacy_packaged_app", "platform_app"
218     ]
219   },
220   "file_browser_handlers": [
221     {
222       "channel": "stable",
223       "extension_types": ["extension", "legacy_packaged_app"]
224     },
225     {
226       "channel": "stable",
227       "extension_types": ["platform_app"],
228       "location": "component"
229     }
230   ],
231   "file_handlers": {
232     "channel": "stable",
233     "extension_types": ["platform_app"]
234   },
235   "homepage_url": {
236     "channel": "stable",
237     "extension_types": ["extension", "legacy_packaged_app"]
238   },
239   "icons": {
240     "channel": "stable",
241     "extension_types": "all"
242   },
243   "import": {
244     "channel": "stable",
245     "extension_types": "all"
246   },
247   "incognito": [
248     {
249       "channel": "stable",
250       "extension_types": ["extension", "legacy_packaged_app"]
251     },
252     {
253       "channel": "stable",
254       "extension_types": ["platform_app"],
255       "location": "component"
256     }
257   ],
258   "input_components": {
259     "channel": "stable",
260     "extension_types": ["extension", "legacy_packaged_app"]
261   },
262   "key": {
263     "channel": "stable",
264     "extension_types": "all"
265   },
266   "kiosk_enabled": {
267     "channel": "stable",
268     "extension_types": [
269       "platform_app"
270     ]
271   },
272   "kiosk_only": {
273     "channel": "dev",
274     "extension_types": [
275       "platform_app"
276     ]
277   },
278   "manifest_version": {
279     "channel": "stable",
280     "extension_types": "all"
281   },
282   "media_galleries_handlers": {
283     "channel": "dev",
284     "extension_types": ["platform_app"]
285   },
286   "mime_types": {
287     "channel": "stable",
288     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
289     "whitelist": [
290       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
291       "gbkeegbaiigmenfmjfclcdgdpimamgkj",  // QuickOffice
292       "ionpfmkccalenbmnddpbmocokhaknphg",  // QuickOffice Dev
293       "bpmcpldpdmajfigpchkicefoigmkfalc",  // Quickoffice component extension
294       "ehibbfinohgbchlgdbfpikodjaojhccn",  // Editor
295       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
296     ]
297   },
298   "minimum_chrome_version": {
299     "channel": "stable",
300     "extension_types": [
301       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
302     ]
303   },
304   "nacl_modules": {
305     "channel": "stable",
306     "extension_types": [
307       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
308     ]
309   },
310   "name": {
311     "channel": "stable",
312     "extension_types": "all"
313   },
314   "oauth2": {
315     "channel": "stable",
316     "extension_types": [
317       "extension", "legacy_packaged_app", "platform_app"
318     ]
319   },
320   "oauth2.auto_approve": {
321     "channel": "stable",
322     "extension_types": [
323       "extension", "platform_app"
324     ],
325     "whitelist": [
326       "mdbihdcgjmagbcapkhhkjbbdlkflmbfo",  // unit_tests
327       "pafkbggdmjlpgkdkcbjmhmfcdpncadgh",  // Google Now
328       "nmmhkkegccagdldgiimedpiccmgmieda",  // In-app payments support app.
329       "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
330       "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
331       "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",  // TODO(rockot): Kill these.
332       "E61F841D8210B6A9891E5384CB665FBED31FCD7B"   // http://crbug.com/281715
333     ]
334   },
335   "offline_enabled": {
336     "channel": "stable",
337     "extension_types": [
338       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
339     ]
340   },
341   "omnibox": {
342     "channel": "stable",
343     "extension_types": ["extension", "legacy_packaged_app"]
344   },
345   "optional_permissions": {
346     "channel": "stable",
347     "extension_types": [
348       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
349     ]
350   },
351   "options_page": {
352     "channel": "stable",
353     "extension_types": [
354       "extension", "legacy_packaged_app", "hosted_app"
355     ]
356   },
357   "page_action": {
358     "channel": "stable",
359     "extension_types": ["extension"]
360   },
361   "page_actions": {
362     "channel": "stable",
363     "extension_types": ["extension"],
364     "max_manifest_version": 1
365   },
366   "permissions": {
367     "channel": "stable",
368     "extension_types": [
369       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
370     ]
371   },
372   "platforms": {
373     "channel": "stable",
374     "extension_types": "all"
375   },
376   "plugins": {
377     "channel": "stable",
378     "extension_types": ["extension", "legacy_packaged_app", "hosted_app"]
379   },
380   "requirements": {
381     "channel": "stable",
382     "extension_types": [
383       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
384     ]
385   },
386   "sandbox": {
387     "channel": "stable",
388     "extension_types": [
389       "extension", "platform_app", "legacy_packaged_app"
390     ],
391     "min_manifest_version": 2
392   },
393   "script_badge": {
394     "channel": "trunk",
395     "extension_types": ["extension"]
396   },
397   "short_name": {
398     "channel": "stable",
399     "extension_types": "all"
400   },
401   "signature": {
402     "channel": "stable",
403     "extension_types": "all"
404   },
405   "sockets": {
406     "channel": "stable",
407     "extension_types": ["platform_app"]
408   },
409   "spellcheck": {
410     "channel": "dev",
411     "extension_types": ["extension"]
412   },
413   "storage": {
414     "channel": "stable",
415     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
416     "min_manifest_version": 2
417   },
418   "system_indicator": {
419     "channel": "dev",
420     "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
421   },
422   "theme": {
423     "channel": "stable",
424     "extension_types": ["theme"]
425   },
426   "tts_engine": {
427     "channel": "stable",
428     "extension_types": ["extension", "legacy_packaged_app"]
429   },
430   "update_url": {
431     "channel": "stable",
432     "extension_types": "all"
433   },
434   "url_handlers": {
435     "channel": "stable",
436     "extension_types": ["platform_app"]
437   },
438   "version": {
439     "channel": "stable",
440     "extension_types": "all"
441   },
442   "web_accessible_resources": [
443     {
444       "channel": "stable",
445       "extension_types": [
446         "extension", "legacy_packaged_app", "hosted_app"
447       ]
448     },
449     {
450       "channel": "stable",
451       "extension_types": ["platform_app"],
452       "location": "component"
453     }
454   ],
455   "webview": {
456     "channel": "stable",
457     "extension_types": ["platform_app"],
458     "min_manifest_version": 2
459   }