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 { | 5 { |
6 "app": { | |
7 "channel": "stable", | |
8 "extension_types": ["hosted_app", "extension"], | |
9 "contexts": [ | |
10 "blessed_extension", "unblessed_extension", "content_script", "web_page" | |
11 ], | |
12 "matches": [ | |
13 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" | |
14 ] | |
15 }, | |
16 "app.runtime": { | |
17 "channel": "stable", | |
18 "contexts": ["blessed_extension"], | |
19 "dependencies": ["permission:app.runtime"] | |
20 }, | |
21 "app.window": { | |
22 "channel": "stable", | |
23 "contexts": ["blessed_extension"], | |
24 "dependencies": ["permission:app.window"] | |
25 }, | |
26 "app.currentWindowInternal": { | 6 "app.currentWindowInternal": { |
27 "internal": true, | 7 "internal": true, |
28 "channel": "stable", | 8 "channel": "stable", |
29 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 9 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
30 }, | 10 }, |
31 "bookmarks": { | 11 "bookmarks": { |
32 "channel": "stable", | 12 "channel": "stable", |
33 "dependencies": ["permission:bookmarks"], | 13 "dependencies": ["permission:bookmarks"], |
34 "contexts": ["blessed_extension"] | 14 "contexts": ["blessed_extension"] |
35 }, | 15 }, |
36 "downloadsInternal": { | 16 "downloadsInternal": { |
37 "internal": true, | 17 "internal": true, |
38 "channel": "stable", | 18 "channel": "stable", |
39 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 19 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
40 }, | 20 }, |
41 "events": { | 21 "events": { |
42 "internal": true, | 22 "internal": true, |
43 "channel": "stable", | 23 "channel": "stable", |
44 "contexts": [ | 24 "contexts": ["blessed_extension", "unblessed_extension", "content_script", "
web_page"], |
45 "blessed_extension", "unblessed_extension", "content_script", "web_page" | |
46 ], | |
47 "matches": ["<all_urls>"] | 25 "matches": ["<all_urls>"] |
48 }, | 26 }, |
49 "fileBrowserHandlerInternal": { | 27 "fileBrowserHandlerInternal": { |
50 "internal": true, | 28 "internal": true, |
51 "channel": "stable", | 29 "channel": "stable", |
52 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 30 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
53 }, | 31 }, |
54 "webRequestInternal": { | 32 "webRequestInternal": { |
55 "internal": true, | 33 "internal": true, |
56 "channel": "stable", | 34 "channel": "stable", |
57 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 35 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
58 }, | 36 }, |
59 "webstore": { | 37 "webstore": { |
60 // Hosted apps can use the webstore API from within a blessed context. | 38 // Hosted apps can use the webstore API from within a blessed context. |
61 "channel": "stable", | 39 "channel": "stable", |
62 "extension_types": ["hosted_app"], | 40 "extension_types": ["hosted_app"], |
63 "contexts": ["blessed_extension", "web_page"], | 41 "contexts": ["blessed_extension", "web_page"], |
64 // Any webpage can use the webstore API. | 42 // Any webpage can use the webstore API. |
65 "matches": ["http://*/*", "https://*/*"] | 43 "matches": [ "http://*/*", "https://*/*" ] |
66 } | 44 } |
67 } | 45 } |
OLD | NEW |