Index: chrome/common/extensions/docs/templates/json/manifest.json |
diff --git a/chrome/common/extensions/docs/templates/json/manifest.json b/chrome/common/extensions/docs/templates/json/manifest.json |
index 4408a535e2f7acfe7890caa5a78d7ffc5416c9f1..5ffa0dfd20dda989bd1a24cf7fb0454e727f47ad 100644 |
--- a/chrome/common/extensions/docs/templates/json/manifest.json |
+++ b/chrome/common/extensions/docs/templates/json/manifest.json |
@@ -1,176 +1,144 @@ |
{ |
- "required": [ |
- { |
- "documentation": "manifest/name.html", |
- "example": "My Extension", |
- "name": "name" |
- }, |
- { |
- "documentation": "manifest/app.html", |
- "example": {}, |
- "name": "app" |
- }, |
- { |
- "documentation": "manifest/version.html", |
- "example": "versionString", |
- "name": "version" |
- }, |
- { |
- "documentation": "manifest/manifest_version.html", |
- "example": 2, |
- "name": "manifest_version" |
+ "app": { |
+ "documentation": "manifest/app.html", |
+ "example": {}, |
+ "level": "required" |
+ }, |
+ "background": { |
+ "documentation": "background_pages.html", |
+ "example": { |
+ "persistent": true |
} |
- ], |
- "recommended": [ |
- { |
- "documentation": "manifest/description.html", |
- "example": "A plain text description", |
- "name": "description" |
- }, |
- { |
- "documentation": "manifest/icons.html", |
- "example": {}, |
- "name": "icons" |
- }, |
- { |
- "documentation": "manifest/default_locale.html", |
- "example": "en", |
- "name": "default_locale" |
+ }, |
+ "background.persistent": { |
+ "documentation": "event_pages.html", |
+ "example": false |
+ }, |
+ "browser_action": { |
+ "documentation": "browserAction.html", |
+ "example": {}, |
+ "level": "only_one" |
+ }, |
+ "chrome_url_overrides": { |
+ "documentation": "override.html", |
+ "example": {} |
+ }, |
+ "content_scripts": { |
+ "documentation": "content_scripts.html", |
+ "example": {} |
+ }, |
+ "content_security_policy": { |
+ "documentation": "contentSecurityPolicy.html", |
+ "example": "policyString" |
+ }, |
+ "default_locale": { |
+ "documentation": "manifest/default_locale.html", |
+ "example": "en", |
+ "level": "recommended" |
+ }, |
+ "description": { |
+ "documentation": "manifest/description.html", |
+ "example": "A plain text description", |
+ "level": "recommended" |
+ }, |
+ "file_browser_handlers": { |
+ "documentation": "fileBrowserHandler.html", |
+ "example": [] |
+ }, |
+ "file_handlers": { |
+ "documentation": "manifest/file_handlers.html", |
+ "example": {} |
+ }, |
+ "homepage_url": { |
+ "documentation": "manifest/homepage_url.html", |
+ "example": "http://path/to/homepage" |
+ }, |
+ "icons": { |
+ "documentation": "manifest/icons.html", |
+ "example": {}, |
+ "level": "recommended" |
+ }, |
+ "incognito": { |
+ "documentation": "manifest/incognito.html", |
+ "example": "spanning or split" |
+ }, |
+ "key": { |
+ "documentation": "manifest/key.html", |
+ "example": "publicKey" |
+ }, |
+ "kiosk_enabled": { |
+ "documentation": "manifest/kiosk_enabled.html", |
+ "example": true |
+ }, |
+ "manifest_version": { |
+ "documentation": "manifest/manifest_version.html", |
+ "example": 2, |
+ "level": "required" |
+ }, |
+ "minimum_chrome_version": { |
+ "documentation": "manifest/minimum_chrome_version.html", |
+ "example": "versionString" |
+ }, |
+ "nacl_modules": { |
+ "documentation": "manifest/nacl_modules.html", |
+ "example": [] |
+ }, |
+ "name": { |
+ "documentation": "manifest/name.html", |
+ "example": "My {{title}}", |
+ "level": "required" |
+ }, |
+ "offline_enabled": { |
+ "documentation": "manifest/offline_enabled.html", |
+ "example": true |
+ }, |
+ "omnibox": { |
+ "documentation": "omnibox.html", |
+ "example": { |
+ "keyword": "aString" |
} |
- ], |
- "only_one": [ |
- { |
- "documentation": "browserAction.html", |
- "example": {}, |
- "name": "browser_action" |
- }, |
- { |
- "documentation": "pageAction.html", |
- "example": {}, |
- "name": "page_action" |
- }, |
- { |
- "documentation": "themes.html", |
- "example": {}, |
- "name": "theme" |
- } |
- ], |
- "optional": [ |
- { |
- "documentation": "event_pages.html", |
- "example": { |
- "persistent": false |
- }, |
- "name": "background" |
- }, |
- { |
- "documentation": "background_pages.html", |
- "example": { |
- "persistent": true |
- }, |
- "name": "background.persistent" |
- }, |
- { |
- "documentation": "override.html", |
- "example": {}, |
- "name": "chrome_url_overrides" |
- }, |
- { |
- "documentation": "content_scripts.html", |
- "example": {}, |
- "name": "content_scripts" |
- }, |
- { |
- "documentation": "contentSecurityPolicy.html", |
- "example": "policyString", |
- "name": "content_security_policy" |
- }, |
- { |
- "documentation": "fileBrowserHandler.html", |
- "example": [], |
- "name": "file_browser_handlers" |
- }, |
- { |
- "documentation": "manifest/file_handlers.html", |
- "example": {}, |
- "name": "file_handlers" |
- }, |
- { |
- "documentation": "manifest/homepage_url.html", |
- "example": "http://path/to/homepage", |
- "name": "homepage_url" |
- }, |
- { |
- "documentation": "manifest/incognito.html", |
- "example": "spanning or split", |
- "name": "incognito" |
- }, |
- { |
- "documentation": "manifest/key.html", |
- "example": "publicKey", |
- "name": "key" |
- }, |
- { |
- "documentation": "manifest/minimum_chrome_version.html", |
- "example": "versionString", |
- "name": "minimum_chrome_version" |
- }, |
- { |
- "documentation": "manifest/nacl_modules.html", |
- "example": [], |
- "name": "nacl_modules" |
- }, |
- { |
- "documentation": "manifest/kiosk_enabled.html", |
- "example": true, |
- "name": "kiosk_enabled" |
- }, |
- { |
- "documentation": "manifest/offline_enabled.html", |
- "example": true, |
- "name": "offline_enabled" |
- }, |
- { |
- "documentation": "omnibox.html", |
- "example": { |
- "keyword": "aString" |
- }, |
- "name": "omnibox" |
- }, |
- { |
- "documentation": "options.html", |
- "example": "aFile.html", |
- "name": "options_page" |
- }, |
- { |
- "documentation": "declare_permissions.html", |
- "example": [], |
- "name": "permissions" |
- }, |
- { |
- "documentation": "npapi.html", |
- "example": [], |
- "name": "plugins" |
- }, |
- { |
- "documentation": "manifest/requirements.html", |
- "example": {}, |
- "name": "requirements" |
- }, |
- { |
- "documentation": "autoupdate.html", |
- "example": "http://path/to/updateInfo.xml", |
- "name": "update_url" |
- }, |
- { |
- "documentation": "manifest/web_accessible_resources.html", |
- "example": [], |
- "name": "web_accessible_resources" |
- }, |
- { |
- "documentation": "manifest/sandbox.html", |
- "example": [], |
- "name": "sandbox" |
- } |
- ] |
+ }, |
+ "options_page": { |
+ "documentation": "options.html", |
+ "example": "aFile.html" |
+ }, |
+ "page_action": { |
+ "documentation": "pageAction.html", |
+ "example": {}, |
+ "level": "only_one" |
+ }, |
+ "permissions": { |
+ "documentation": "declare_permissions.html", |
+ "example": [] |
+ }, |
+ "plugins": { |
+ "documentation": "npapi.html", |
+ "example": [] |
+ }, |
+ "requirements": { |
+ "documentation": "manifest/requirements.html", |
+ "example": {} |
+ }, |
+ "sandbox": { |
+ "documentation": "manifest/sandbox.html", |
+ "example": [] |
+ }, |
+ "theme": { |
+ "documentation": "themes.html", |
+ "example": {}, |
+ "level": "only_one" |
+ }, |
+ "update_url": { |
+ "documentation": "autoupdate.html", |
+ "example": "http://path/to/updateInfo.xml" |
+ }, |
+ "version": { |
+ "documentation": "manifest/version.html", |
+ "example": "versionString", |
+ "level": "required" |
+ }, |
+ "web_accessible_resources": { |
+ "documentation": "manifest/web_accessible_resources.html", |
+ "example": [] |
+ } |
} |