Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / common / extensions / api / _manifest_features.json
blob51de59c6bdce41b408086f76422efbca791935d2
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   "author": {
46     "channel": "stable",
47     "extension_types": "all"
48   },
49   "background": {
50     "channel": "stable",
51     "extension_types": [
52       // Platform apps specify their background page via app.background.
53       "extension", "legacy_packaged_app", "hosted_app"
54     ]
55   },
56   "background.persistent": {
57     "channel": "stable",
58     "extension_types": [
59       "extension", "legacy_packaged_app"
60     ],
61     "min_manifest_version": 2
62   },
63   "background_page": {
64     "channel": "stable",
65     "extension_types": [
66       "extension", "legacy_packaged_app", "hosted_app"
67     ],
68     "max_manifest_version": 1
69   },
70   "browser_action": {
71     "channel": "stable",
72     "extension_types": ["extension"]
73   },
74   "chrome_settings_overrides": [{
75     "channel": "dev",
76     "extension_types": ["extension"]
77   }, {
78     "channel": "stable",
79     "extension_types": ["extension"],
80     "whitelist": [
81       "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
82       "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
83       "D57DE394F36DC1C3220E7604C575D29C51A6C495"  // http://crbug.com/319444
84     ]
85   }],
86   "chrome_url_overrides": {
87     "channel": "stable",
88     "extension_types": ["extension", "legacy_packaged_app"]
89   },
90   "commands": [
91     {
92       "channel": "dev",
93       "extension_types": ["platform_app"],
94       "min_manifest_version": 2
95     }, {
96       "channel": "stable",
97       "extension_types": ["extension"],
98       "min_manifest_version": 2
99     }
100   ],
101   "commands.global": [
102     {
103       "channel": "dev",
104       "extension_types": ["extension", "platform_app"],
105       "min_manifest_version": 2
106     }
107   ],
108   "content_pack": {
109     "channel": "dev",
110     "extension_types": ["extension"]
111   },
112   "content_security_policy": {
113     "channel": "stable",
114     // Platform apps have a restricted content security policy that cannot be
115     // overriden (except for a whitelist of exceptions, see the
116     // app.content_security_policy whitelist).
117     "extension_types": ["extension", "legacy_packaged_app"]
118   },
119   "content_scripts": {
120     "channel": "stable",
121     "extension_types": ["extension", "legacy_packaged_app"]
122   },
123   "converted_from_user_script": {
124     "channel": "stable",
125     "extension_types": [
126       "extension", "legacy_packaged_app", "hosted_app"
127     ],
128     "no_doc": true
129   },
130   "current_locale": {
131     "channel": "stable",
132     "extension_types": "all"
133   },
134   "default_locale": {
135     "channel": "stable",
136     "extension_types": "all"
137   },
138   "description": {
139     "channel": "stable",
140     "extension_types": "all"
141   },
142   "devtools_page": {
143     "channel": "stable",
144     "extension_types": ["extension", "legacy_packaged_app"]
145   },
146   "display_in_launcher": [
147     {
148       "channel": "stable",
149       "extension_types": ["legacy_packaged_app", "platform_app"],
150       "location": "component"
151     },
152     {
153       "channel": "stable",
154       "extension_types": ["legacy_packaged_app", "platform_app"],
155       "whitelist": [
156         "nmmhkkegccagdldgiimedpiccmgmieda"
157       ]
158     }
159   ],
160   "display_in_new_tab_page": [
161     {
162       "channel": "stable",
163       "extension_types": ["legacy_packaged_app", "platform_app"],
164       "location": "component"
165     },
166     {
167       "channel": "stable",
168       "extension_types": ["legacy_packaged_app", "platform_app"],
169       "whitelist": [
170         "nmmhkkegccagdldgiimedpiccmgmieda"
171       ]
172     }
173   ],
174   "export": [
175     {
176       "channel": "stable",
177       "extension_types": ["shared_module"],
178       "whitelist": [
179         "6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F",
180         "4EB74897CB187C7633357C2FE832E0AD6A44883A"
181       ]
182     },
183     {
184       "channel": "dev",
185       "extension_types": ["shared_module"]
186     }
187   ],
188   "externally_connectable": {
189     "channel": "stable",
190     "extension_types": [
191       "extension", "hosted_app", "legacy_packaged_app", "platform_app"
192     ]
193   },
194   "file_browser_handlers": {
195     "channel": "stable",
196     "extension_types": ["extension", "legacy_packaged_app"]
197   },
198   "file_handlers": {
199     "channel": "stable",
200     "extension_types": ["platform_app"]
201   },
202   "homepage_url": {
203     "channel": "stable",
204     "extension_types": ["extension", "legacy_packaged_app"]
205   },
206   "icons": {
207     "channel": "stable",
208     "extension_types": "all"
209   },
210   "import": {
211     "channel": "stable",
212     "extension_types": "all"
213   },
214   "incognito": {
215     "channel": "stable",
216     "extension_types": ["extension", "legacy_packaged_app"]
217   },
218   "input_components": {
219     "channel": "stable",
220     "extension_types": ["extension", "legacy_packaged_app"]
221   },
222   "key": {
223     "channel": "stable",
224     "extension_types": "all"
225   },
226   "kiosk_enabled": {
227     "channel": "stable",
228     "extension_types": [
229       "platform_app"
230     ]
231   },
232   "kiosk_only": {
233     "channel": "dev",
234     "extension_types": [
235       "platform_app"
236     ]
237   },
238   "manifest_version": {
239     "channel": "stable",
240     "extension_types": "all"
241   },
242   "media_galleries_handlers": {
243     "channel": "dev",
244     "extension_types": ["platform_app"]
245   },
246   "mime_types": {
247     "channel": "stable",
248     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
249     "whitelist": [
250       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
251       "gbkeegbaiigmenfmjfclcdgdpimamgkj",  // QuickOffice
252       "ionpfmkccalenbmnddpbmocokhaknphg",  // QuickOffice Dev
253       "bpmcpldpdmajfigpchkicefoigmkfalc",  // Quickoffice component extension
254       "ehibbfinohgbchlgdbfpikodjaojhccn",  // Editor
255       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
256     ]
257   },
258   "minimum_chrome_version": {
259     "channel": "stable",
260     "extension_types": [
261       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
262     ]
263   },
264   "nacl_modules": {
265     "channel": "stable",
266     "extension_types": [
267       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
268     ]
269   },
270   "name": {
271     "channel": "stable",
272     "extension_types": "all"
273   },
274   "oauth2": {
275     "channel": "stable",
276     "extension_types": [
277       "extension", "legacy_packaged_app", "platform_app"
278     ]
279   },
280   "oauth2.auto_approve": {
281     "channel": "stable",
282     "extension_types": [
283       "extension", "platform_app"
284     ],
285     "whitelist": [
286       "mdbihdcgjmagbcapkhhkjbbdlkflmbfo",  // unit_tests
287       "pafkbggdmjlpgkdkcbjmhmfcdpncadgh",  // Google Now
288       "nmmhkkegccagdldgiimedpiccmgmieda",  // In-app payments support app.
289       "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
290       "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
291       "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",  // TODO(rockot): Kill these.
292       "E61F841D8210B6A9891E5384CB665FBED31FCD7B"   // http://crbug.com/281715
293     ]
294   },
295   "offline_enabled": {
296     "channel": "stable",
297     "extension_types": [
298       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
299     ]
300   },
301   "omnibox": {
302     "channel": "stable",
303     "extension_types": ["extension", "legacy_packaged_app"]
304   },
305   "optional_permissions": {
306     "channel": "stable",
307     "extension_types": [
308       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
309     ]
310   },
311   "options_page": {
312     "channel": "stable",
313     "extension_types": [
314       "extension", "legacy_packaged_app", "hosted_app"
315     ]
316   },
317   "page_action": {
318     "channel": "stable",
319     "extension_types": ["extension"]
320   },
321   "page_actions": {
322     "channel": "stable",
323     "extension_types": ["extension"],
324     "max_manifest_version": 1
325   },
326   "permissions": {
327     "channel": "stable",
328     "extension_types": [
329       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
330     ]
331   },
332   "platforms": {
333     "channel": "stable",
334     "extension_types": "all"
335   },
336   "plugins": {
337     "channel": "stable",
338     "extension_types": ["extension", "legacy_packaged_app", "hosted_app"]
339   },
340   "requirements": {
341     "channel": "stable",
342     "extension_types": [
343       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
344     ]
345   },
346   "sandbox": {
347     "channel": "stable",
348     "extension_types": [
349       "extension", "platform_app", "legacy_packaged_app"
350     ],
351     "min_manifest_version": 2
352   },
353   "script_badge": {
354     "channel": "trunk",
355     "extension_types": ["extension"]
356   },
357   "short_name": {
358     "channel": "stable",
359     "extension_types": "all"
360   },
361   "signature": {
362     "channel": "stable",
363     "extension_types": "all"
364   },
365   "sockets": {
366     "channel": "stable",
367     "extension_types": ["platform_app"]
368   },
369   "spellcheck": {
370     "channel": "dev",
371     "extension_types": ["extension"]
372   },
373   "storage": {
374     "channel": "stable",
375     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
376     "min_manifest_version": 2
377   },
378   "system_indicator": {
379     "channel": "dev",
380     "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
381   },
382   "theme": {
383     "channel": "stable",
384     "extension_types": ["theme"]
385   },
386   "tts_engine": {
387     "channel": "stable",
388     "extension_types": ["extension", "legacy_packaged_app"]
389   },
390   "update_url": {
391     "channel": "stable",
392     "extension_types": "all"
393   },
394   "url_handlers": {
395     "channel": "stable",
396     "extension_types": ["platform_app"]
397   },
398   "version": {
399     "channel": "stable",
400     "extension_types": "all"
401   },
402   "web_accessible_resources": {
403     "channel": "stable",
404     "extension_types": [
405       "extension", "legacy_packaged_app", "hosted_app"
406     ]
407   },
408   "webview": {
409     "channel": "dev",
410     "extension_types": ["platform_app"],
411     "min_manifest_version": 2
412   }