Chromium Code Reviews| Index: chrome/common/extensions/docs/templates/json/extensions_manifest.json |
| diff --git a/chrome/common/extensions/docs/templates/json/extensions_manifest.json b/chrome/common/extensions/docs/templates/json/extensions_manifest.json |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f63874dc68d74c05119141b49fce44c1df8db51a |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/templates/json/extensions_manifest.json |
| @@ -0,0 +1,166 @@ |
| +{ |
| + "required": [ |
| + { |
| + "documentation": "manifest_name.html", |
| + "example": "My Extension", |
| + "name": "name" |
| + }, |
|
not at google - send to devlin
2013/04/27 01:54:02
I actually think we'll only want one of these file
jshumway
2013/05/03 03:44:39
Done. Would you prefer a different way to change t
|
| + { |
| + "documentation": "manifest_version.html", |
| + "example": "versionString", |
| + "name": "version" |
| + }, |
| + { |
| + "documentation": "manifest_manifest_version.html", |
| + "example": 2, |
| + "name": "manifest_version" |
| + } |
| + ], |
| + "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" |
| + } |
| + ], |
| + "only_one": [ |
| + { |
| + "documentation": "browserAction.html", |
| + "example": {}, |
| + "name": "browser_action" |
| + }, |
| + { |
| + "documentation": "pageAction.html", |
| + "example": {}, |
| + "name": "page_action" |
| + }, |
| + { |
| + "documentation": "themes.html", |
| + "example": {}, |
| + "name": "theme" |
| + }, |
| + { |
| + "documentation": "manifest_app.html", |
| + "example": {}, |
| + "name": "app" |
| + } |
| + ], |
| + "optional": [ |
| + { |
| + "documentation": "event_pages.html", |
| + "example": { |
| + "persistent": false |
| + }, |
| + "name": "background" |
| + }, |
| + { |
| + "documentation": "background_pages.html", |
| + "example": { |
| + "persistent": true |
| + }, |
| + "name": "background" |
| + }, |
| + { |
| + "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_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_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" |
| + } |
| + ] |
| +} |