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": { | 6 "app": { |
7 "channel": "stable", | 7 "channel": "stable", |
8 "extension_types": ["hosted_app", "extension", "packaged_app"], | 8 "extension_types": ["hosted_app", "extension", "packaged_app"], |
9 "contexts": [ | 9 "contexts": [ |
10 "blessed_extension", "unblessed_extension", "content_script", "web_page" | 10 "blessed_extension", "unblessed_extension", "content_script", "web_page" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 64 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
65 }, | 65 }, |
66 "runtime": { | 66 "runtime": { |
67 "channel": "stable", | 67 "channel": "stable", |
68 "extension_types": ["extension", "packaged_app", "platform_app"], | 68 "extension_types": ["extension", "packaged_app", "platform_app"], |
69 "contexts": ["blessed_extension"] | 69 "contexts": ["blessed_extension"] |
70 }, | 70 }, |
71 "runtime.connect": { | 71 "runtime.connect": { |
72 "channel": "stable", | 72 "channel": "stable", |
73 "extension_types": ["extension", "packaged_app", "platform_app"], | 73 "extension_types": ["extension", "packaged_app", "platform_app"], |
74 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 74 "contexts": "all", |
Jeffrey Yasskin
2013/06/08 00:28:09
Can you add a comment saying where the schema for
not at google - send to devlin
2013/06/08 02:02:33
Done.
| |
75 "matches": ["<all_urls>"] | |
75 }, | 76 }, |
76 "runtime.getManifest": { | 77 "runtime.getManifest": { |
77 "channel": "stable", | 78 "channel": "stable", |
78 "extension_types": ["extension", "packaged_app", "platform_app"], | 79 "extension_types": ["extension", "packaged_app", "platform_app"], |
79 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 80 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
80 }, | 81 }, |
81 "runtime.getURL": { | 82 "runtime.getURL": { |
82 "channel": "stable", | 83 "channel": "stable", |
83 "extension_types": ["extension", "packaged_app", "platform_app"], | 84 "extension_types": ["extension", "packaged_app", "platform_app"], |
84 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 85 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
(...skipping 24 matching lines...) Expand all Loading... | |
109 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 110 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
110 }, | 111 }, |
111 "runtime.requestUpdateCheck": { | 112 "runtime.requestUpdateCheck": { |
112 "channel": "stable", | 113 "channel": "stable", |
113 "extension_types": ["extension", "packaged_app", "platform_app"], | 114 "extension_types": ["extension", "packaged_app", "platform_app"], |
114 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 115 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
115 }, | 116 }, |
116 "runtime.sendMessage": { | 117 "runtime.sendMessage": { |
117 "channel": "stable", | 118 "channel": "stable", |
118 "extension_types": ["extension", "packaged_app", "platform_app"], | 119 "extension_types": ["extension", "packaged_app", "platform_app"], |
119 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 120 "contexts": "all", |
121 "matches": ["<all_urls>"] | |
120 }, | 122 }, |
121 "runtime.setUninstallUrl": { | 123 "runtime.setUninstallUrl": { |
122 "channel": "dev", | 124 "channel": "dev", |
123 "extension_types": ["extension", "packaged_app", "platform_app"], | 125 "extension_types": ["extension", "packaged_app", "platform_app"], |
124 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 126 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
125 }, | 127 }, |
126 "webRequestInternal": { | 128 "webRequestInternal": { |
127 "internal": true, | 129 "internal": true, |
128 "channel": "stable", | 130 "channel": "stable", |
129 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 131 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
130 }, | 132 }, |
131 "webstore": { | 133 "webstore": { |
132 // Hosted apps can use the webstore API from within a blessed context. | 134 // Hosted apps can use the webstore API from within a blessed context. |
133 "channel": "stable", | 135 "channel": "stable", |
134 "extension_types": ["hosted_app"], | 136 "extension_types": ["hosted_app"], |
135 "contexts": ["blessed_extension", "web_page"], | 137 "contexts": ["blessed_extension", "web_page"], |
136 // Any webpage can use the webstore API. | 138 // Any webpage can use the webstore API. |
137 "matches": ["http://*/*", "https://*/*"] | 139 "matches": ["http://*/*", "https://*/*"] |
138 } | 140 } |
139 } | 141 } |
OLD | NEW |