| OLD | NEW |
| 1 { | 1 { |
| 2 "required": [ | 2 "app": { |
| 3 { | 3 "documentation": "manifest/app.html", |
| 4 "documentation": "manifest/name.html", | 4 "example": {}, |
| 5 "example": "My Extension", | 5 "level": "required" |
| 6 "name": "name" | 6 }, |
| 7 }, | 7 "background": { |
| 8 { | 8 "documentation": "background_pages.html", |
| 9 "documentation": "manifest/app.html", | 9 "example": { |
| 10 "example": {}, | 10 "persistent": true |
| 11 "name": "app" | |
| 12 }, | |
| 13 { | |
| 14 "documentation": "manifest/version.html", | |
| 15 "example": "versionString", | |
| 16 "name": "version" | |
| 17 }, | |
| 18 { | |
| 19 "documentation": "manifest/manifest_version.html", | |
| 20 "example": 2, | |
| 21 "name": "manifest_version" | |
| 22 } | 11 } |
| 23 ], | 12 }, |
| 24 "recommended": [ | 13 "background.persistent": { |
| 25 { | 14 "documentation": "event_pages.html", |
| 26 "documentation": "manifest/description.html", | 15 "example": false |
| 27 "example": "A plain text description", | 16 }, |
| 28 "name": "description" | 17 "browser_action": { |
| 29 }, | 18 "documentation": "browserAction.html", |
| 30 { | 19 "example": {}, |
| 31 "documentation": "manifest/icons.html", | 20 "level": "only_one" |
| 32 "example": {}, | 21 }, |
| 33 "name": "icons" | 22 "chrome_url_overrides": { |
| 34 }, | 23 "documentation": "override.html", |
| 35 { | 24 "example": {} |
| 36 "documentation": "manifest/default_locale.html", | 25 }, |
| 37 "example": "en", | 26 "content_scripts": { |
| 38 "name": "default_locale" | 27 "documentation": "content_scripts.html", |
| 28 "example": {} |
| 29 }, |
| 30 "content_security_policy": { |
| 31 "documentation": "contentSecurityPolicy.html", |
| 32 "example": "policyString" |
| 33 }, |
| 34 "default_locale": { |
| 35 "documentation": "manifest/default_locale.html", |
| 36 "example": "en", |
| 37 "level": "recommended" |
| 38 }, |
| 39 "description": { |
| 40 "documentation": "manifest/description.html", |
| 41 "example": "A plain text description", |
| 42 "level": "recommended" |
| 43 }, |
| 44 "file_browser_handlers": { |
| 45 "documentation": "fileBrowserHandler.html", |
| 46 "example": [] |
| 47 }, |
| 48 "file_handlers": { |
| 49 "documentation": "manifest/file_handlers.html", |
| 50 "example": {} |
| 51 }, |
| 52 "homepage_url": { |
| 53 "documentation": "manifest/homepage_url.html", |
| 54 "example": "http://path/to/homepage" |
| 55 }, |
| 56 "icons": { |
| 57 "documentation": "manifest/icons.html", |
| 58 "example": {}, |
| 59 "level": "recommended" |
| 60 }, |
| 61 "incognito": { |
| 62 "documentation": "manifest/incognito.html", |
| 63 "example": "spanning or split" |
| 64 }, |
| 65 "key": { |
| 66 "documentation": "manifest/key.html", |
| 67 "example": "publicKey" |
| 68 }, |
| 69 "kiosk_enabled": { |
| 70 "documentation": "manifest/kiosk_enabled.html", |
| 71 "example": true |
| 72 }, |
| 73 "manifest_version": { |
| 74 "documentation": "manifest/manifest_version.html", |
| 75 "example": 2, |
| 76 "level": "required" |
| 77 }, |
| 78 "minimum_chrome_version": { |
| 79 "documentation": "manifest/minimum_chrome_version.html", |
| 80 "example": "versionString" |
| 81 }, |
| 82 "nacl_modules": { |
| 83 "documentation": "manifest/nacl_modules.html", |
| 84 "example": [] |
| 85 }, |
| 86 "name": { |
| 87 "documentation": "manifest/name.html", |
| 88 "example": "My {{title}}", |
| 89 "level": "required" |
| 90 }, |
| 91 "offline_enabled": { |
| 92 "documentation": "manifest/offline_enabled.html", |
| 93 "example": true |
| 94 }, |
| 95 "omnibox": { |
| 96 "documentation": "omnibox.html", |
| 97 "example": { |
| 98 "keyword": "aString" |
| 39 } | 99 } |
| 40 ], | 100 }, |
| 41 "only_one": [ | 101 "options_page": { |
| 42 { | 102 "documentation": "options.html", |
| 43 "documentation": "browserAction.html", | 103 "example": "aFile.html" |
| 44 "example": {}, | 104 }, |
| 45 "name": "browser_action" | 105 "page_action": { |
| 46 }, | 106 "documentation": "pageAction.html", |
| 47 { | 107 "example": {}, |
| 48 "documentation": "pageAction.html", | 108 "level": "only_one" |
| 49 "example": {}, | 109 }, |
| 50 "name": "page_action" | 110 "permissions": { |
| 51 }, | 111 "documentation": "declare_permissions.html", |
| 52 { | 112 "example": [] |
| 53 "documentation": "themes.html", | 113 }, |
| 54 "example": {}, | 114 "plugins": { |
| 55 "name": "theme" | 115 "documentation": "npapi.html", |
| 56 } | 116 "example": [] |
| 57 ], | 117 }, |
| 58 "optional": [ | 118 "requirements": { |
| 59 { | 119 "documentation": "manifest/requirements.html", |
| 60 "documentation": "event_pages.html", | 120 "example": {} |
| 61 "example": { | 121 }, |
| 62 "persistent": false | 122 "sandbox": { |
| 63 }, | 123 "documentation": "manifest/sandbox.html", |
| 64 "name": "background" | 124 "example": [] |
| 65 }, | 125 }, |
| 66 { | 126 "theme": { |
| 67 "documentation": "background_pages.html", | 127 "documentation": "themes.html", |
| 68 "example": { | 128 "example": {}, |
| 69 "persistent": true | 129 "level": "only_one" |
| 70 }, | 130 }, |
| 71 "name": "background.persistent" | 131 "update_url": { |
| 72 }, | 132 "documentation": "autoupdate.html", |
| 73 { | 133 "example": "http://path/to/updateInfo.xml" |
| 74 "documentation": "override.html", | 134 }, |
| 75 "example": {}, | 135 "version": { |
| 76 "name": "chrome_url_overrides" | 136 "documentation": "manifest/version.html", |
| 77 }, | 137 "example": "versionString", |
| 78 { | 138 "level": "required" |
| 79 "documentation": "content_scripts.html", | 139 }, |
| 80 "example": {}, | 140 "web_accessible_resources": { |
| 81 "name": "content_scripts" | 141 "documentation": "manifest/web_accessible_resources.html", |
| 82 }, | 142 "example": [] |
| 83 { | 143 } |
| 84 "documentation": "contentSecurityPolicy.html", | |
| 85 "example": "policyString", | |
| 86 "name": "content_security_policy" | |
| 87 }, | |
| 88 { | |
| 89 "documentation": "fileBrowserHandler.html", | |
| 90 "example": [], | |
| 91 "name": "file_browser_handlers" | |
| 92 }, | |
| 93 { | |
| 94 "documentation": "manifest/file_handlers.html", | |
| 95 "example": {}, | |
| 96 "name": "file_handlers" | |
| 97 }, | |
| 98 { | |
| 99 "documentation": "manifest/homepage_url.html", | |
| 100 "example": "http://path/to/homepage", | |
| 101 "name": "homepage_url" | |
| 102 }, | |
| 103 { | |
| 104 "documentation": "manifest/incognito.html", | |
| 105 "example": "spanning or split", | |
| 106 "name": "incognito" | |
| 107 }, | |
| 108 { | |
| 109 "documentation": "manifest/key.html", | |
| 110 "example": "publicKey", | |
| 111 "name": "key" | |
| 112 }, | |
| 113 { | |
| 114 "documentation": "manifest/minimum_chrome_version.html", | |
| 115 "example": "versionString", | |
| 116 "name": "minimum_chrome_version" | |
| 117 }, | |
| 118 { | |
| 119 "documentation": "manifest/nacl_modules.html", | |
| 120 "example": [], | |
| 121 "name": "nacl_modules" | |
| 122 }, | |
| 123 { | |
| 124 "documentation": "manifest/kiosk_enabled.html", | |
| 125 "example": true, | |
| 126 "name": "kiosk_enabled" | |
| 127 }, | |
| 128 { | |
| 129 "documentation": "manifest/offline_enabled.html", | |
| 130 "example": true, | |
| 131 "name": "offline_enabled" | |
| 132 }, | |
| 133 { | |
| 134 "documentation": "omnibox.html", | |
| 135 "example": { | |
| 136 "keyword": "aString" | |
| 137 }, | |
| 138 "name": "omnibox" | |
| 139 }, | |
| 140 { | |
| 141 "documentation": "options.html", | |
| 142 "example": "aFile.html", | |
| 143 "name": "options_page" | |
| 144 }, | |
| 145 { | |
| 146 "documentation": "declare_permissions.html", | |
| 147 "example": [], | |
| 148 "name": "permissions" | |
| 149 }, | |
| 150 { | |
| 151 "documentation": "npapi.html", | |
| 152 "example": [], | |
| 153 "name": "plugins" | |
| 154 }, | |
| 155 { | |
| 156 "documentation": "manifest/requirements.html", | |
| 157 "example": {}, | |
| 158 "name": "requirements" | |
| 159 }, | |
| 160 { | |
| 161 "documentation": "autoupdate.html", | |
| 162 "example": "http://path/to/updateInfo.xml", | |
| 163 "name": "update_url" | |
| 164 }, | |
| 165 { | |
| 166 "documentation": "manifest/web_accessible_resources.html", | |
| 167 "example": [], | |
| 168 "name": "web_accessible_resources" | |
| 169 }, | |
| 170 { | |
| 171 "documentation": "manifest/sandbox.html", | |
| 172 "example": [], | |
| 173 "name": "sandbox" | |
| 174 } | |
| 175 ] | |
| 176 } | 144 } |
| OLD | NEW |