Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 { | |
| 2 "alarms": { | |
| 3 "Permissions": [ | |
| 4 { "permission": "alarms" } | |
| 5 ], | |
| 6 "LearnMore": [ | |
| 7 { | |
| 8 "href": "event_pages.html", | |
| 9 "content": "Event Pages" | |
| 10 } | |
| 11 ] | |
| 12 }, | |
| 13 "app_runtime": { | |
| 14 "LearnMore": [ | |
| 15 { | |
| 16 "href": "app_lifecycle.html", | |
| 17 "content": "Manage App Lifecycle" | |
| 18 }, | |
| 19 { | |
| 20 "href": "https://developers.google.com/live/shows/10291095/", | |
| 21 "content": "Chrome Office Hours: Introduction to Chrome Apps" | |
| 22 } | |
| 23 ] | |
| 24 }, | |
| 25 "app_window": { | |
| 26 "LearnMore": [ | |
| 27 { | |
| 28 "href": "about_apps.html#look", | |
| 29 "content": "How they look" | |
| 30 }, | |
| 31 { | |
| 32 "href": "app_lifecycle.html", | |
| 33 "content": "Manage App Lifecycle" | |
| 34 }, | |
| 35 { | |
| 36 "href": "https://developers.google.com/live/shows/9118010/", | |
| 37 "content": "Chrome Apps Office Hours: Building Awesome Multi-window Apps " | |
| 38 } | |
| 39 ] | |
| 40 }, | |
| 41 "bluetooth": { | |
| 42 "Permissions": [ | |
| 43 { "permission": "bluetooth" } | |
| 44 ], | |
| 45 "LearnMore": [ | |
| 46 { | |
| 47 "href": "app_hardware.html", | |
| 48 "content": "Accessing Hardware Devices" | |
| 49 } | |
| 50 ] | |
| 51 }, | |
| 52 "bookmarks": { | |
| 53 "Permissions": [ | |
| 54 { "permission": "bookmarks" } | |
| 55 ] | |
| 56 }, | |
| 57 "browsingData": { | |
| 58 "Permissions": [ | |
| 59 { "permission": "browsingData" } | |
| 60 ] | |
| 61 }, | |
| 62 "contentSettings": { | |
| 63 "Permissions": [ | |
| 64 { "permission": "contentSettings" } | |
| 65 ] | |
| 66 }, | |
| 67 "contextMenus": { | |
| 68 "Permissions": [ | |
| 69 { "permission": "contextMenus" } | |
| 70 ] | |
| 71 }, | |
| 72 "cookies": { | |
| 73 "Permissions": [ | |
| 74 { "permission": "cookies" }, | |
| 75 { "extra": "<a href=declare_permissions.html>host permissions</a>" } | |
| 76 ] | |
| 77 }, | |
| 78 "debugger": { | |
| 79 "Permissions": [ | |
| 80 { "permission": "debugger" } | |
| 81 ] | |
| 82 }, | |
| 83 "declarativeContent": { | |
| 84 "Permissions": [ | |
| 85 // TODO: Mention host permissions if/when some action require them. | |
| 86 { "permission": "declarativeContent" } | |
| 87 ], | |
| 88 "LearnMore": [ | |
| 89 { | |
| 90 "href": "events.html", | |
| 91 "content": "Declarative Events" | |
| 92 }, | |
| 93 { | |
| 94 "prefix": "The ", | |
| 95 "href": "activeTab.html", | |
| 96 "content": "activeTab", | |
| 97 "suffix": " permission" | |
|
epeterson
2013/05/13 02:38:10
Here's an example of a fully fleshed-out permissio
| |
| 98 } | |
| 99 ] | |
| 100 }, | |
| 101 "declarativeWebRequest": { | |
| 102 "Permissions": [ | |
| 103 { "permission": "declarativeWebRequest" }, | |
| 104 { "extra": "<a href=declare_permissions.html>host permissions</a>" } | |
| 105 ] | |
| 106 }, | |
| 107 "downloads": { | |
| 108 "Permissions": [ | |
| 109 { "permission": "downloads" }, | |
| 110 { "extra": "<a href=declare_permissions.html>host permissions</a>" } | |
| 111 ] | |
| 112 }, | |
| 113 "fileBrowserHandler": { | |
| 114 "Permissions": [ | |
| 115 { "permission": "fileBrowserHandler" } | |
| 116 ] | |
| 117 }, | |
| 118 "fileSystem": { | |
| 119 "Permissions": [ | |
| 120 { "permission": "fileSystem" }, | |
| 121 { "permission": "fileSystem.write" } | |
| 122 ], | |
| 123 "LearnMore": [ | |
| 124 { | |
| 125 "href": "app_storage.html", | |
| 126 "content": "Manage Data" | |
| 127 }, | |
| 128 { | |
| 129 "href": "angular_framework.html", | |
| 130 "content": "Build Apps with AngularJS" | |
| 131 }, | |
| 132 { | |
| 133 "href": "https://developers.google.com/live/shows/7320022-1001/", | |
| 134 "content": "Chrome Apps Office Hours:TextDrive and AngularJS" | |
| 135 } | |
| 136 ] | |
| 137 }, | |
| 138 "fontSettings": { | |
| 139 "Permissions": [ | |
| 140 { "permission": "fontSettings" } | |
| 141 ] | |
| 142 }, | |
| 143 "history": { | |
| 144 "Permissions": [ | |
| 145 { "permission": "history" } | |
| 146 ] | |
| 147 }, | |
| 148 "idle": { | |
| 149 "Permissions": [ | |
| 150 { "permission": "idle" } | |
| 151 ] | |
| 152 }, | |
| 153 "input_ime": { | |
| 154 "Permissions": [ | |
| 155 { "permission": "input" } | |
| 156 ] | |
| 157 }, | |
| 158 "management": { | |
| 159 "Permissions": [ | |
| 160 { "permission": "management" } | |
| 161 ] | |
| 162 }, | |
| 163 "mediaGalleries": { | |
| 164 "Permissions": [ | |
| 165 { "permission": "mediaGalleries': ['read']" }, | |
| 166 { "permission": "mediaGalleries': ['read', 'allAutoDetected']" }, | |
| 167 { "extra": "See <a href='#manifest'>Manifest</a> below for more informatio n." } | |
| 168 ], | |
| 169 "LearnMore": [ | |
| 170 { | |
| 171 "href": "https://developers.google.com/live/shows/10479832/", | |
| 172 "content": "Chrome Office Hours: The Media Galleries API" | |
| 173 } | |
| 174 ] | |
| 175 }, | |
| 176 "notifications": { | |
| 177 "Permissions": [ | |
| 178 { "permission": "notifications" } | |
| 179 ], | |
| 180 "LearnMore": [ | |
| 181 { | |
| 182 "href": "https://developers.google.com/live/shows/83992232-1001/", | |
| 183 "content": "Chrome Apps Office Hours: Rich Notifications" | |
| 184 } | |
| 185 ] | |
| 186 }, | |
| 187 "pageCapture": { | |
| 188 "Permissions": [ | |
| 189 { "permission": "pageCapture" } | |
| 190 ] | |
| 191 }, | |
| 192 "power": { | |
| 193 "Permissions": [ | |
| 194 { "permission": "power" } | |
| 195 ] | |
| 196 }, | |
| 197 "privacy": { | |
| 198 "Permissions": [ | |
| 199 { "permission": "privacy" } | |
| 200 ] | |
| 201 }, | |
| 202 "proxy": { | |
| 203 "Permissions": [ | |
| 204 { "permission": "proxy" } | |
| 205 ] | |
| 206 }, | |
| 207 "pushMessaging": { | |
| 208 "Permissions": [ | |
| 209 { "permission": "pushMessaging" } | |
| 210 ], | |
| 211 "LearnMore": [ | |
| 212 { | |
| 213 "href": "cloudMessaging.html", | |
| 214 "content": "Google Cloud Messaging for Chrome", | |
| 215 "suffix": ";" | |
| 216 }, | |
| 217 { | |
| 218 "href": "gcm_server.html", | |
| 219 "content": "API Reference for GCM service" | |
| 220 } | |
| 221 ] | |
| 222 }, | |
| 223 "runtime": { | |
| 224 "LearnMore": [ | |
| 225 { | |
| 226 "href": "app_lifecycle.html", | |
| 227 "content": "Manage App Lifecycle" | |
| 228 }, | |
| 229 { | |
| 230 "href": "event_pages.html", | |
| 231 "content": "Event Pages" | |
| 232 } | |
| 233 ] | |
| 234 }, | |
| 235 "serial": { | |
| 236 "Permissions": [ | |
| 237 { "permission": "serial" } | |
| 238 ], | |
| 239 "LearnMore": [ | |
| 240 { | |
| 241 "href": "app_hardware.html", | |
| 242 "content": "Accessing Hardware Devices" | |
| 243 } | |
| 244 ] | |
| 245 }, | |
| 246 "socket": { | |
| 247 "Permissions": [ | |
| 248 { "permission": "socket': ['rule1', 'rule2']" }, | |
| 249 { "extra": "For example: <code>socket': ['tcp-connect:*:*']</code>means co nnecting on any port of any host.See <a href='app_network.html'>Network Communic ations</a> for rule syntax." } | |
| 250 ], | |
| 251 "LearnMore": [ | |
| 252 { | |
| 253 "href": "app_network.html", | |
| 254 "content": "Network Communications" | |
| 255 }, | |
| 256 { | |
| 257 "href": "sencha_framework.html", | |
| 258 "content": "Build Apps with Sencha ExtJS" | |
| 259 }, | |
| 260 { | |
| 261 "href": "https://developers.google.com/live/shows/7320022-5001/", | |
| 262 "content": "Chrome Apps Office Hours: Networking APIs" | |
| 263 }, | |
| 264 { | |
| 265 "href": "https://developers.google.com/live/shows/7320022-2001/", | |
| 266 "content": "Chrome Apps Office Hours: Controlling an AR ParrotDrone" | |
| 267 } | |
| 268 ] | |
| 269 }, | |
| 270 "storage": { | |
| 271 "Permissions": [ | |
| 272 { "permission": "storage" } | |
| 273 ], | |
| 274 "LearnMore": [ | |
| 275 { | |
| 276 "href": "https://developers.google.com/live/shows/7320022/", | |
| 277 "content": "Chrome Apps Office Hours: Chrome Storage APIs" | |
| 278 }, | |
| 279 { | |
| 280 "href": "https://developers.google.com/live/shows/7320022-1/", | |
| 281 "content": "Chrome Apps Office Hours: Storage API Deep Dive" | |
| 282 } | |
| 283 ] | |
| 284 }, | |
| 285 "syncFileSystem": { | |
| 286 "Permissions": [ | |
| 287 { "permission": "syncFileSystem" } | |
| 288 ], | |
| 289 "LearnMore": [ | |
| 290 { | |
| 291 "href": "http://developer.chrome.com/trunk/apps/app_storage.html", | |
| 292 "content": "Manage Data", | |
| 293 "suffix": ";" | |
| 294 }, | |
| 295 { | |
| 296 "href": "https://developers.google.com/live/shows/83992232-2001/", | |
| 297 "content": "Chrome Office Hours: Synched File System" | |
| 298 } | |
| 299 ] | |
| 300 }, | |
| 301 "tabs": { | |
| 302 "Permissions": [ | |
| 303 { "permission": "tabs" } | |
| 304 ] | |
| 305 }, | |
| 306 "topSites": { | |
| 307 "Permissions": [ | |
| 308 { "permission": "topSites" } | |
| 309 ] | |
| 310 }, | |
| 311 "tts": { | |
| 312 "Permissions": [ | |
| 313 { "permission": "tts" } | |
| 314 ], | |
| 315 "LearnMore": [ | |
| 316 { | |
| 317 "href": "https://developers.google.com/live/shows/7320022-7001/", | |
| 318 "content": "Chrome Office Hours: Text to Speech API" | |
| 319 } | |
| 320 ] | |
| 321 }, | |
| 322 "ttsEngine": { | |
| 323 "Permissions": [ | |
| 324 { "permission": "ttsEngine" } | |
| 325 ] | |
| 326 }, | |
| 327 "usb": { | |
| 328 "Permissions": [ | |
| 329 { "permission": "usb" } | |
| 330 ], | |
| 331 "LearnMore": [ | |
| 332 { | |
| 333 "href": "app_hardware.html", | |
| 334 "content": "Accessing Hardware Devices" | |
| 335 } | |
| 336 ] | |
| 337 }, | |
| 338 "webNavigation": { | |
| 339 "Permissions": [ | |
| 340 { "permission": "webNavigation" } | |
| 341 ] | |
| 342 }, | |
| 343 "webRequest": { | |
| 344 "Permissions": [ | |
| 345 { "permission": "webRequest" }, | |
| 346 { "extra": "<a href=declare_permissions.html>host permissions</a>" } | |
| 347 ] | |
| 348 }, | |
| 349 "webstore": { | |
| 350 "LearnMore": [ | |
| 351 { | |
| 352 "href": "https://developers.google.com/chrome/web-store/docs/inline_inst allation", | |
| 353 "content": "Using Inline Installation" | |
| 354 } | |
| 355 ] | |
| 356 }, | |
| 357 "windows": { | |
| 358 "Permissions": [ | |
| 359 { "permission": "tabs" } | |
| 360 ] | |
| 361 } | |
| 362 } | |
| OLD | NEW |