Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: chrome/common/extensions/docs/templates/json/intro_tables.json

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revisions, Offline/Online Access (bypassed-hooks) Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..aee0a6755f233081ba44a365c428fc5f34b373c4
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/json/intro_tables.json
@@ -0,0 +1,362 @@
+{
+ "alarms": {
+ "Permissions": [
+ { "permission": "alarms" }
+ ],
+ "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"
epeterson 2013/05/13 02:38:10 Here's an example of a fully fleshed-out permissio
+ }
+ ]
+ },
+ "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" }
+ ]
+ },
+ "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",
+ "suffix": ";"
+ },
+ {
+ "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" }
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698