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