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..95178930de264d97f57517ae0bcfa55e69a728ee |
--- /dev/null |
+++ b/chrome/common/extensions/docs/templates/json/intro_tables.json |
@@ -0,0 +1,471 @@ |
+{ |
epeterson
2013/07/09 20:51:18
I modified this file so that it is similar in stru
not at google - send to devlin
2013/07/09 23:11:55
sgtm
|
+ // TODO(epeterson) Generate permissions information dynamically. |
+ "alarms": { |
+ "Learn More": [ |
+ { |
+ "link": "event_pages.html", |
+ "text": "Event Pages" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "alarms" |
not at google - send to devlin
2013/07/09 23:11:55
can this be
"text": "\"alarms\"",
"class": "code"
epeterson
2013/07/16 00:28:23
Done.
|
+ } |
+ ] |
+ }, |
+ "app_runtime": { |
+ "Learn More": [ |
+ { |
+ "link": "app_lifecycle.html", |
+ "text": "Manage App Lifecycle" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/10291095/", |
+ "text": "Chrome Office Hours: Introduction to Chrome Apps" |
+ } |
+ ] |
+ }, |
+ "app_window": { |
+ "Learn More": [ |
+ { |
+ "link": "about_apps.html#look", |
+ "text": "How they look" |
+ }, |
+ { |
+ "link": "app_lifecycle.html", |
+ "text": "Manage App Lifecycle" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/9118010/", |
+ "text": "Chrome Apps Office Hours: Building Awesome Multi-window Apps" |
+ } |
+ ] |
+ }, |
+ "bluetooth": { |
+ "Learn More": [ |
+ { |
+ "link": "app_hardware.html", |
+ "text": "Accessing Hardware Devices" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "bluetooth" |
+ } |
+ ] |
+ }, |
+ "bookmarks": { |
+ "Permissions": [ |
+ { |
+ "perm": "bookmarks" |
+ } |
+ ] |
+ }, |
+ "browsingData": { |
+ "Permissions": [ |
+ { |
+ "perm": "browsingData" |
+ } |
+ ] |
+ }, |
+ "contextMenus": { |
+ "Permissions": [ |
+ { |
+ "perm": "contextMenus" |
+ } |
+ ] |
+ }, |
+ "cookies": { |
+ "Permissions": [ |
+ { |
+ "perm": "cookies" |
+ }, |
+ { |
+ "link": "declare_permissions.html", |
+ "text": "host permissions" |
+ } |
+ ] |
+ }, |
+ "debugger": { |
+ "Permissions": [ |
+ { |
+ "perm": "debugger" |
+ } |
+ ] |
+ }, |
+ "declarativeContent": { |
+ "Learn More": [ |
+ { |
+ "link": "events.html", |
+ "text": "Declarative Events" |
+ }, |
+ { |
+ "link": "activeTab.html", |
+ "text": "activeTab" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "declarativeContent" |
+ } |
+ ] |
+ }, |
+ "declarativeWebRequest": { |
+ "Permissions": [ |
+ { |
+ "perm": "declarativeWebRequest" |
+ }, |
+ { |
+ "link": "declare_permissions.html", |
+ "text": "host permissions" |
+ } |
+ ] |
+ }, |
+ "downloads": { |
+ "Permissions": [ |
+ { |
+ "perm": "downloads" |
+ }, |
+ { |
+ "link": "declare_permissions.html", |
+ "text": "host permissions" |
+ } |
+ ] |
+ }, |
+ "fileBrowserHandler": { |
+ "Permissions": [ |
+ { |
+ "perm": "fileBrowserHandler" |
+ } |
+ ] |
+ }, |
+ "fileSystem": { |
+ "Learn More": [ |
+ { |
+ "link": "app_storage.html", |
+ "text": "Manage Data" |
+ }, |
+ { |
+ "link": "angular_framework.html", |
+ "text": "Build Apps with AngularJS" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022-1001/", |
+ "text": "Chrome Apps Office Hours:TextDrive and AngularJS" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "fileSystem" |
+ }, |
+ { |
+ "perm": "fileSystem.write" |
+ }, |
+ { |
+ "perm": "fileSystem.retainEntries" |
not at google - send to devlin
2013/07/09 23:11:55
these are actually wrong, should be:
"\"fileSyste
epeterson
2013/07/16 00:28:23
Done.
|
+ } |
+ ] |
+ }, |
+ "fontSettings": { |
+ "Permissions": [ |
+ { |
+ "perm": "fontSettings" |
+ } |
+ ] |
+ }, |
+ "history": { |
+ "Permissions": [ |
+ { |
+ "perm": "history" |
+ } |
+ ] |
+ }, |
+ "identity": { |
+ "Learn More": [ |
+ { |
+ "link": "app_identity.html", |
+ "text": "Identify User" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "identity" |
+ } |
+ ] |
+ }, |
+ "idle": { |
+ "Permissions": [ |
+ { |
+ "perm": "idle" |
+ } |
+ ] |
+ }, |
+ "input_ime": { |
+ "Permissions": [ |
+ { |
+ "perm": "input" |
+ } |
+ ] |
+ }, |
+ "management": { |
+ "Permissions": [ |
+ { |
+ "perm": "management" |
+ } |
+ ] |
+ }, |
+ "mediaGalleries": { |
+ "Learn More": [ |
+ { |
+ "link": "https://developers.google.com/live/shows/10479832/", |
+ "text": "Chrome Office Hours: The Media Galleries API" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "mediaGalleries", |
+ "text": "\"read\"" |
+ }, |
+ { |
+ "perm": "mediaGalleries", |
+ "text": "\"read\", \"allAutoDetected\"" |
not at google - send to devlin
2013/07/09 23:11:55
ok maybe I'll need to read the python to understan
|
+ }, |
+ { |
+ "text": "See <a href='#manifest'>Manifest</a> below for more information." |
+ } |
+ ] |
+ }, |
+ "notifications": { |
+ "Learn More": [ |
+ { |
+ "link": "https://developers.google.com/live/shows/83992232-1001/", |
+ "text": "Chrome Apps Office Hours: Rich Notifications" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "notifications" |
+ } |
+ ] |
+ }, |
+ "pageCapture": { |
+ "Permissions": [ |
+ { |
+ "perm": "pageCapture" |
+ } |
+ ] |
+ }, |
+ "power": { |
+ "Permissions": [ |
+ { |
+ "perm": "power" |
+ } |
+ ] |
+ }, |
+ "privacy": { |
+ "Permissions": [ |
+ { |
+ "perm": "privacy" |
+ } |
+ ] |
+ }, |
+ "proxy": { |
+ "Permissions": [ |
+ { |
+ "perm": "proxy" |
+ } |
+ ] |
+ }, |
+ "pushMessaging": { |
+ "Learn More": [ |
+ { |
+ "link": "cloudMessaging.html", |
+ "text": "Google Cloud Messaging for Chrome" |
+ }, |
+ { |
+ "link": "gcm_server.html", |
+ "text": "API Reference for GCM service" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "pushMessaging" |
+ } |
+ ] |
+ }, |
+ "runtime": { |
+ "Learn More": [ |
+ { |
+ "link": "app_lifecycle.html", |
+ "text": "Manage App Lifecycle" |
+ }, |
+ { |
+ "link": "event_pages.html", |
+ "text": "Event Pages" |
+ } |
+ ] |
+ }, |
+ "serial": { |
+ "Learn More": [ |
+ { |
+ "link": "app_hardware.html", |
+ "text": "Accessing Hardware Devices" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "serial" |
+ } |
+ ] |
+ }, |
+ "socket": { |
+ "Learn More": [ |
+ { |
+ "link": "app_network.html", |
+ "text": "Network Communications" |
+ }, |
+ { |
+ "link": "sencha_framework.html", |
+ "text": "Build Apps with Sencha ExtJS" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022-5001/", |
+ "text": "Chrome Apps Office Hours: Networking APIs" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022-2001/", |
+ "text": "Chrome Apps Office Hours: Controlling an AR ParrotDrone" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "socket", |
+ "text": "\"rule1\", \"rule2\"" |
+ }, |
+ { |
+ "text": "For example: <code>\"socket\": [\"tcp-connect:*:*\"]</code> means connecting on any port of any host. See <a link='app_network.html'>Network Communications</a> for rule syntax." |
+ } |
+ ] |
+ }, |
+ "storage": { |
+ "Learn More": [ |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022/", |
+ "text": "Chrome Apps Office Hours: Chrome Storage APIs" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022-1/", |
+ "text": "Chrome Apps Office Hours: Storage API Deep Dive" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "storage" |
+ } |
+ ] |
+ }, |
+ "syncFileSystem": { |
+ "Learn More": [ |
+ { |
+ "link": "http://developer.chrome.com/trunk/apps/app_storage.html", |
+ "text": "Manage Data" |
+ }, |
+ { |
+ "link": "https://developers.google.com/live/shows/83992232-2001/", |
+ "text": "Chrome Office Hours: Synched File System" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "syncFileSystem" |
+ } |
+ ] |
+ }, |
+ "tabs": { |
+ "Permissions": [ |
+ { |
+ "perm": "tabs" |
+ } |
+ ] |
+ }, |
+ "textSettings": { |
+ "Permissions": [ |
+ { |
+ "perm": "textSettings" |
+ } |
+ ] |
+ }, |
+ "topSites": { |
+ "Permissions": [ |
+ { |
+ "perm": "topSites" |
+ } |
+ ] |
+ }, |
+ "tts": { |
+ "Learn More": [ |
+ { |
+ "link": "https://developers.google.com/live/shows/7320022-7001/", |
+ "text": "Chrome Office Hours: Text to Speech API" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "tts" |
+ } |
+ ] |
+ }, |
+ "ttsEngine": { |
+ "Permissions": [ |
+ { |
+ "perm": "ttsEngine" |
+ } |
+ ] |
+ }, |
+ "usb": { |
+ "Learn More": [ |
+ { |
+ "link": "app_hardware.html", |
+ "text": "Accessing Hardware Devices" |
+ } |
+ ], |
+ "Permissions": [ |
+ { |
+ "perm": "usb" |
+ } |
+ ] |
+ }, |
+ "webNavigation": { |
+ "Permissions": [ |
+ { |
+ "perm": "webNavigation" |
+ } |
+ ] |
+ }, |
+ "webRequest": { |
+ "Permissions": [ |
+ { |
+ "perm": "webRequest" |
+ }, |
+ { |
+ "link": "declare_permissions.html", |
+ "text": "host permissions" |
+ } |
+ ] |
+ }, |
+ "webstore": { |
+ "Learn More": [ |
+ { |
+ "link": "https://developers.google.com/chrome/web-store/docs/inline_installation", |
+ "text": "Using Inline Installation" |
+ } |
+ ] |
+ }, |
+ "windows": { |
+ "Permissions": [ |
+ { |
+ "perm": "tabs" |
+ } |
+ ] |
+ } |
+} |