Chromium Code Reviews| Index: chrome/common/extensions/docs/templates/json/intro_tables.json |
| diff --git a/chrome/common/extensions/docs/templates/json/intro_tables.json b/chrome/common/extensions/docs/templates/json/intro_tables.json |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d0f8c2a6851c6555e7d07ed3629ef1e6e5e3679d |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/templates/json/intro_tables.json |
| @@ -0,0 +1,372 @@ |
| +{ |
| + "alarms": { |
| + "Permissions": [ |
| + { "permission": "alarms" } |
|
not at google - send to devlin
2013/07/03 19:54:56
we should be able to figure this out from _api_dat
epeterson
2013/07/09 20:51:18
Ok, I put in a TODO.
|
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "event_pages.html", |
| + "content": "Event Pages" |
| + } |
| + ] |
| + }, |
| + "app_runtime": { |
| + "LearnMore": [ |
| + { |
| + "href": "app_lifecycle.html", |
| + "content": "Manage App Lifecycle" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/10291095/", |
| + "content": "Chrome Office Hours: Introduction to Chrome Apps" |
| + } |
| + ] |
| + }, |
| + "app_window": { |
| + "LearnMore": [ |
| + { |
| + "href": "about_apps.html#look", |
| + "content": "How they look" |
| + }, |
| + { |
| + "href": "app_lifecycle.html", |
| + "content": "Manage App Lifecycle" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/9118010/", |
| + "content": "Chrome Apps Office Hours: Building Awesome Multi-window Apps" |
| + } |
| + ] |
| + }, |
| + "bluetooth": { |
| + "Permissions": [ |
| + { "permission": "bluetooth" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_hardware.html", |
| + "content": "Accessing Hardware Devices" |
| + } |
| + ] |
| + }, |
| + "bookmarks": { |
| + "Permissions": [ |
| + { "permission": "bookmarks" } |
| + ] |
| + }, |
| + "browsingData": { |
| + "Permissions": [ |
| + { "permission": "browsingData" } |
| + ] |
| + }, |
| + "contentSettings": { |
| + "Permissions": [ |
| + { "permission": "contentSettings" } |
| + ] |
| + }, |
| + "contextMenus": { |
| + "Permissions": [ |
| + { "permission": "contextMenus" } |
| + ] |
| + }, |
| + "cookies": { |
| + "Permissions": [ |
| + { "permission": "cookies" }, |
| + { "extra": "<a href=declare_permissions.html>host permissions</a>" } |
| + ] |
| + }, |
| + "debugger": { |
| + "Permissions": [ |
| + { "permission": "debugger" } |
| + ] |
| + }, |
| + "declarativeContent": { |
| + "Permissions": [ |
| + // TODO: Mention host permissions if/when some action require them. |
| + { "permission": "declarativeContent" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "events.html", |
| + "content": "Declarative Events" |
| + }, |
| + { |
| + "prefix": "The ", |
| + "href": "activeTab.html", |
| + "content": "activeTab", |
| + "suffix": " permission" |
|
not at google - send to devlin
2013/07/03 19:54:56
Let's just link the whole thing, and then later we
epeterson
2013/07/09 20:51:18
Alright, the goal was to avoid using {{{triple-han
|
| + } |
| + ] |
| + }, |
| + "declarativeWebRequest": { |
| + "Permissions": [ |
| + { "permission": "declarativeWebRequest" }, |
| + { "extra": "<a href=declare_permissions.html>host permissions</a>" } |
| + ] |
| + }, |
| + "downloads": { |
| + "Permissions": [ |
| + { "permission": "downloads" }, |
| + { "extra": "<a href=declare_permissions.html>host permissions</a>" } |
| + ] |
| + }, |
| + "fileBrowserHandler": { |
| + "Permissions": [ |
| + { "permission": "fileBrowserHandler" } |
| + ] |
| + }, |
| + "fileSystem": { |
| + "Permissions": [ |
| + { "permission": "fileSystem" }, |
| + { "permission": "fileSystem.write" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_storage.html", |
| + "content": "Manage Data" |
| + }, |
| + { |
| + "href": "angular_framework.html", |
| + "content": "Build Apps with AngularJS" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022-1001/", |
| + "content": "Chrome Apps Office Hours:TextDrive and AngularJS" |
| + } |
| + ] |
| + }, |
| + "fontSettings": { |
| + "Permissions": [ |
| + { "permission": "fontSettings" } |
| + ] |
| + }, |
| + "history": { |
| + "Permissions": [ |
| + { "permission": "history" } |
| + ] |
| + }, |
| + "identity": { |
| + "Permissions": [ |
| + { "permission": "identity" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_identity.html", |
| + "content": "Identify User" |
| + } |
| + ] |
| + }, |
| + "idle": { |
| + "Permissions": [ |
| + { "permission": "idle" } |
| + ] |
| + }, |
| + "input_ime": { |
| + "Permissions": [ |
| + { "permission": "input" } |
| + ] |
| + }, |
| + "management": { |
| + "Permissions": [ |
| + { "permission": "management" } |
| + ] |
| + }, |
| + "mediaGalleries": { |
| + "Permissions": [ |
| + { "permission": "mediaGalleries': ['read']" }, |
| + { "permission": "mediaGalleries': ['read', 'allAutoDetected']" }, |
| + { "extra": "See <a href='#manifest'>Manifest</a> below for more information." } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "https://developers.google.com/live/shows/10479832/", |
| + "content": "Chrome Office Hours: The Media Galleries API" |
| + } |
| + ] |
| + }, |
| + "notifications": { |
| + "Permissions": [ |
| + { "permission": "notifications" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "https://developers.google.com/live/shows/83992232-1001/", |
| + "content": "Chrome Apps Office Hours: Rich Notifications" |
| + } |
| + ] |
| + }, |
| + "pageCapture": { |
| + "Permissions": [ |
| + { "permission": "pageCapture" } |
| + ] |
| + }, |
| + "power": { |
| + "Permissions": [ |
| + { "permission": "power" } |
| + ] |
| + }, |
| + "privacy": { |
| + "Permissions": [ |
| + { "permission": "privacy" } |
| + ] |
| + }, |
| + "proxy": { |
| + "Permissions": [ |
| + { "permission": "proxy" } |
| + ] |
| + }, |
| + "pushMessaging": { |
| + "Permissions": [ |
| + { "permission": "pushMessaging" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "cloudMessaging.html", |
| + "content": "Google Cloud Messaging for Chrome" |
| + }, |
| + { |
| + "href": "gcm_server.html", |
| + "content": "API Reference for GCM service" |
| + } |
| + ] |
| + }, |
| + "runtime": { |
| + "LearnMore": [ |
| + { |
| + "href": "app_lifecycle.html", |
| + "content": "Manage App Lifecycle" |
| + }, |
| + { |
| + "href": "event_pages.html", |
| + "content": "Event Pages" |
| + } |
| + ] |
| + }, |
| + "serial": { |
| + "Permissions": [ |
| + { "permission": "serial" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_hardware.html", |
| + "content": "Accessing Hardware Devices" |
| + } |
| + ] |
| + }, |
| + "socket": { |
| + "Permissions": [ |
| + { "permission": "socket': ['rule1', 'rule2']" }, |
| + { "extra": "For example: <code>socket': ['tcp-connect:*:*']</code> means connecting on any port of any host. See <a href='app_network.html'>Network Communications</a> for rule syntax." } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_network.html", |
| + "content": "Network Communications" |
| + }, |
| + { |
| + "href": "sencha_framework.html", |
| + "content": "Build Apps with Sencha ExtJS" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022-5001/", |
| + "content": "Chrome Apps Office Hours: Networking APIs" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022-2001/", |
| + "content": "Chrome Apps Office Hours: Controlling an AR ParrotDrone" |
| + } |
| + ] |
| + }, |
| + "storage": { |
| + "Permissions": [ |
| + { "permission": "storage" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022/", |
| + "content": "Chrome Apps Office Hours: Chrome Storage APIs" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022-1/", |
| + "content": "Chrome Apps Office Hours: Storage API Deep Dive" |
| + } |
| + ] |
| + }, |
| + "syncFileSystem": { |
| + "Permissions": [ |
| + { "permission": "syncFileSystem" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "http://developer.chrome.com/trunk/apps/app_storage.html", |
| + "content": "Manage Data", |
| + "suffix": ";" |
| + }, |
| + { |
| + "href": "https://developers.google.com/live/shows/83992232-2001/", |
| + "content": "Chrome Office Hours: Synched File System" |
| + } |
| + ] |
| + }, |
| + "tabs": { |
| + "Permissions": [ |
| + { "permission": "tabs" } |
| + ] |
| + }, |
| + "topSites": { |
| + "Permissions": [ |
| + { "permission": "topSites" } |
| + ] |
| + }, |
| + "tts": { |
| + "Permissions": [ |
| + { "permission": "tts" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "https://developers.google.com/live/shows/7320022-7001/", |
| + "content": "Chrome Office Hours: Text to Speech API" |
| + } |
| + ] |
| + }, |
| + "ttsEngine": { |
| + "Permissions": [ |
| + { "permission": "ttsEngine" } |
| + ] |
| + }, |
| + "usb": { |
| + "Permissions": [ |
| + { "permission": "usb" } |
| + ], |
| + "LearnMore": [ |
| + { |
| + "href": "app_hardware.html", |
| + "content": "Accessing Hardware Devices" |
| + } |
| + ] |
| + }, |
| + "webNavigation": { |
| + "Permissions": [ |
| + { "permission": "webNavigation" } |
| + ] |
| + }, |
| + "webRequest": { |
| + "Permissions": [ |
| + { "permission": "webRequest" }, |
| + { "extra": "<a href=declare_permissions.html>host permissions</a>" } |
| + ] |
| + }, |
| + "webstore": { |
| + "LearnMore": [ |
| + { |
| + "href": "https://developers.google.com/chrome/web-store/docs/inline_installation", |
| + "content": "Using Inline Installation" |
| + } |
| + ] |
| + }, |
| + "windows": { |
| + "Permissions": [ |
| + { "permission": "tabs" } |
| + ] |
| + } |
| +} |