Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: chrome/common/extensions/api/_manifest_features.json

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: appserver, etc. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "channel": "dev", 33 "channel": "dev",
76 "extension_types": ["platform_app"] 34 "extension_types": ["platform_app"]
77 }, 35 },
78 "browser_action": { 36 "browser_action": {
79 "channel": "stable", 37 "channel": "stable",
80 "extension_types": ["extension"] 38 "extension_types": ["extension"]
81 }, 39 },
82 "chrome_settings_overrides": [{ 40 "chrome_settings_overrides": [{
83 "channel": "stable", 41 "channel": "stable",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 { 81 {
124 "channel": "dev", 82 "channel": "dev",
125 "extension_types": ["extension", "platform_app"], 83 "extension_types": ["extension", "platform_app"],
126 "min_manifest_version": 2 84 "min_manifest_version": 2
127 } 85 }
128 ], 86 ],
129 "content_pack": { 87 "content_pack": {
130 "channel": "dev", 88 "channel": "dev",
131 "extension_types": ["extension"] 89 "extension_types": ["extension"]
132 }, 90 },
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": { 91 "content_scripts": {
141 "channel": "stable", 92 "channel": "stable",
142 "extension_types": ["extension", "legacy_packaged_app"] 93 "extension_types": ["extension", "legacy_packaged_app"]
143 }, 94 },
144 "converted_from_user_script": { 95 "converted_from_user_script": {
145 "channel": "stable", 96 "channel": "stable",
146 "extension_types": [ 97 "extension_types": [
147 "extension", "legacy_packaged_app", "hosted_app" 98 "extension", "legacy_packaged_app", "hosted_app"
148 ], 99 ],
149 "no_doc": true 100 "no_doc": true
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 "extension_types": ["extension", "legacy_packaged_app"] 188 "extension_types": ["extension", "legacy_packaged_app"]
238 }, 189 },
239 "icons": { 190 "icons": {
240 "channel": "stable", 191 "channel": "stable",
241 "extension_types": "all" 192 "extension_types": "all"
242 }, 193 },
243 "import": { 194 "import": {
244 "channel": "stable", 195 "channel": "stable",
245 "extension_types": "all" 196 "extension_types": "all"
246 }, 197 },
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": { 198 "input_components": {
259 "channel": "stable", 199 "channel": "stable",
260 "extension_types": ["extension", "legacy_packaged_app"] 200 "extension_types": ["extension", "legacy_packaged_app"]
261 }, 201 },
262 "key": { 202 "key": {
263 "channel": "stable", 203 "channel": "stable",
264 "extension_types": "all" 204 "extension_types": "all"
265 }, 205 },
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": { 206 "manifest_version": {
279 "channel": "stable", 207 "channel": "stable",
280 "extension_types": "all" 208 "extension_types": "all"
281 }, 209 },
282 "media_galleries_handlers": { 210 "media_galleries_handlers": {
283 "channel": "dev", 211 "channel": "dev",
284 "extension_types": ["platform_app"] 212 "extension_types": ["platform_app"]
285 }, 213 },
286 "mime_types": { 214 "mime_types": {
287 "channel": "stable", 215 "channel": "stable",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 "whitelist": [ 253 "whitelist": [
326 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests 254 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests
327 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now 255 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now
328 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app. 256 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app.
329 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C", 257 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
330 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA", 258 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
331 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these. 259 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these.
332 "E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715 260 "E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715
333 ] 261 ]
334 }, 262 },
335 "offline_enabled": {
336 "channel": "stable",
337 "extension_types": [
338 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
339 ]
340 },
341 "omnibox": { 263 "omnibox": {
342 "channel": "stable", 264 "channel": "stable",
343 "extension_types": ["extension", "legacy_packaged_app"] 265 "extension_types": ["extension", "legacy_packaged_app"]
344 }, 266 },
345 "optional_permissions": { 267 "optional_permissions": {
346 "channel": "stable", 268 "channel": "stable",
347 "extension_types": [ 269 "extension_types": [
348 "extension", "legacy_packaged_app", "hosted_app", "platform_app" 270 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
349 ] 271 ]
350 }, 272 },
(...skipping 25 matching lines...) Expand all
376 "plugins": { 298 "plugins": {
377 "channel": "stable", 299 "channel": "stable",
378 "extension_types": ["extension", "legacy_packaged_app", "hosted_app"] 300 "extension_types": ["extension", "legacy_packaged_app", "hosted_app"]
379 }, 301 },
380 "requirements": { 302 "requirements": {
381 "channel": "stable", 303 "channel": "stable",
382 "extension_types": [ 304 "extension_types": [
383 "extension", "legacy_packaged_app", "hosted_app", "platform_app" 305 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
384 ] 306 ]
385 }, 307 },
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": { 308 "script_badge": {
394 "channel": "trunk", 309 "channel": "trunk",
395 "extension_types": ["extension"] 310 "extension_types": ["extension"]
396 }, 311 },
397 "short_name": { 312 "short_name": {
398 "channel": "stable", 313 "channel": "stable",
399 "extension_types": "all" 314 "extension_types": "all"
400 }, 315 },
401 "signature": { 316 "signature": {
402 "channel": "stable", 317 "channel": "stable",
403 "extension_types": "all" 318 "extension_types": "all"
404 }, 319 },
405 "sockets": {
406 "channel": "stable",
407 "extension_types": ["platform_app"]
408 },
409 "spellcheck": { 320 "spellcheck": {
410 "channel": "dev", 321 "channel": "dev",
411 "extension_types": ["extension"] 322 "extension_types": ["extension"]
412 }, 323 },
413 "storage": { 324 "storage": {
414 "channel": "stable", 325 "channel": "stable",
415 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 326 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
416 "min_manifest_version": 2 327 "min_manifest_version": 2
417 }, 328 },
418 "system_indicator": { 329 "system_indicator": {
(...skipping 12 matching lines...) Expand all
431 "channel": "stable", 342 "channel": "stable",
432 "extension_types": "all" 343 "extension_types": "all"
433 }, 344 },
434 "url_handlers": { 345 "url_handlers": {
435 "channel": "stable", 346 "channel": "stable",
436 "extension_types": ["platform_app"] 347 "extension_types": ["platform_app"]
437 }, 348 },
438 "version": { 349 "version": {
439 "channel": "stable", 350 "channel": "stable",
440 "extension_types": "all" 351 "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 } 352 }
460 } 353 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698