Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 { | |
|
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
| |
| 2 // TODO(epeterson) Generate permissions information dynamically. | |
| 3 "alarms": { | |
| 4 "Learn More": [ | |
| 5 { | |
| 6 "link": "event_pages.html", | |
| 7 "text": "Event Pages" | |
| 8 } | |
| 9 ], | |
| 10 "Permissions": [ | |
| 11 { | |
| 12 "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.
| |
| 13 } | |
| 14 ] | |
| 15 }, | |
| 16 "app_runtime": { | |
| 17 "Learn More": [ | |
| 18 { | |
| 19 "link": "app_lifecycle.html", | |
| 20 "text": "Manage App Lifecycle" | |
| 21 }, | |
| 22 { | |
| 23 "link": "https://developers.google.com/live/shows/10291095/", | |
| 24 "text": "Chrome Office Hours: Introduction to Chrome Apps" | |
| 25 } | |
| 26 ] | |
| 27 }, | |
| 28 "app_window": { | |
| 29 "Learn More": [ | |
| 30 { | |
| 31 "link": "about_apps.html#look", | |
| 32 "text": "How they look" | |
| 33 }, | |
| 34 { | |
| 35 "link": "app_lifecycle.html", | |
| 36 "text": "Manage App Lifecycle" | |
| 37 }, | |
| 38 { | |
| 39 "link": "https://developers.google.com/live/shows/9118010/", | |
| 40 "text": "Chrome Apps Office Hours: Building Awesome Multi-window Apps" | |
| 41 } | |
| 42 ] | |
| 43 }, | |
| 44 "bluetooth": { | |
| 45 "Learn More": [ | |
| 46 { | |
| 47 "link": "app_hardware.html", | |
| 48 "text": "Accessing Hardware Devices" | |
| 49 } | |
| 50 ], | |
| 51 "Permissions": [ | |
| 52 { | |
| 53 "perm": "bluetooth" | |
| 54 } | |
| 55 ] | |
| 56 }, | |
| 57 "bookmarks": { | |
| 58 "Permissions": [ | |
| 59 { | |
| 60 "perm": "bookmarks" | |
| 61 } | |
| 62 ] | |
| 63 }, | |
| 64 "browsingData": { | |
| 65 "Permissions": [ | |
| 66 { | |
| 67 "perm": "browsingData" | |
| 68 } | |
| 69 ] | |
| 70 }, | |
| 71 "contextMenus": { | |
| 72 "Permissions": [ | |
| 73 { | |
| 74 "perm": "contextMenus" | |
| 75 } | |
| 76 ] | |
| 77 }, | |
| 78 "cookies": { | |
| 79 "Permissions": [ | |
| 80 { | |
| 81 "perm": "cookies" | |
| 82 }, | |
| 83 { | |
| 84 "link": "declare_permissions.html", | |
| 85 "text": "host permissions" | |
| 86 } | |
| 87 ] | |
| 88 }, | |
| 89 "debugger": { | |
| 90 "Permissions": [ | |
| 91 { | |
| 92 "perm": "debugger" | |
| 93 } | |
| 94 ] | |
| 95 }, | |
| 96 "declarativeContent": { | |
| 97 "Learn More": [ | |
| 98 { | |
| 99 "link": "events.html", | |
| 100 "text": "Declarative Events" | |
| 101 }, | |
| 102 { | |
| 103 "link": "activeTab.html", | |
| 104 "text": "activeTab" | |
| 105 } | |
| 106 ], | |
| 107 "Permissions": [ | |
| 108 { | |
| 109 "perm": "declarativeContent" | |
| 110 } | |
| 111 ] | |
| 112 }, | |
| 113 "declarativeWebRequest": { | |
| 114 "Permissions": [ | |
| 115 { | |
| 116 "perm": "declarativeWebRequest" | |
| 117 }, | |
| 118 { | |
| 119 "link": "declare_permissions.html", | |
| 120 "text": "host permissions" | |
| 121 } | |
| 122 ] | |
| 123 }, | |
| 124 "downloads": { | |
| 125 "Permissions": [ | |
| 126 { | |
| 127 "perm": "downloads" | |
| 128 }, | |
| 129 { | |
| 130 "link": "declare_permissions.html", | |
| 131 "text": "host permissions" | |
| 132 } | |
| 133 ] | |
| 134 }, | |
| 135 "fileBrowserHandler": { | |
| 136 "Permissions": [ | |
| 137 { | |
| 138 "perm": "fileBrowserHandler" | |
| 139 } | |
| 140 ] | |
| 141 }, | |
| 142 "fileSystem": { | |
| 143 "Learn More": [ | |
| 144 { | |
| 145 "link": "app_storage.html", | |
| 146 "text": "Manage Data" | |
| 147 }, | |
| 148 { | |
| 149 "link": "angular_framework.html", | |
| 150 "text": "Build Apps with AngularJS" | |
| 151 }, | |
| 152 { | |
| 153 "link": "https://developers.google.com/live/shows/7320022-1001/", | |
| 154 "text": "Chrome Apps Office Hours:TextDrive and AngularJS" | |
| 155 } | |
| 156 ], | |
| 157 "Permissions": [ | |
| 158 { | |
| 159 "perm": "fileSystem" | |
| 160 }, | |
| 161 { | |
| 162 "perm": "fileSystem.write" | |
| 163 }, | |
| 164 { | |
| 165 "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.
| |
| 166 } | |
| 167 ] | |
| 168 }, | |
| 169 "fontSettings": { | |
| 170 "Permissions": [ | |
| 171 { | |
| 172 "perm": "fontSettings" | |
| 173 } | |
| 174 ] | |
| 175 }, | |
| 176 "history": { | |
| 177 "Permissions": [ | |
| 178 { | |
| 179 "perm": "history" | |
| 180 } | |
| 181 ] | |
| 182 }, | |
| 183 "identity": { | |
| 184 "Learn More": [ | |
| 185 { | |
| 186 "link": "app_identity.html", | |
| 187 "text": "Identify User" | |
| 188 } | |
| 189 ], | |
| 190 "Permissions": [ | |
| 191 { | |
| 192 "perm": "identity" | |
| 193 } | |
| 194 ] | |
| 195 }, | |
| 196 "idle": { | |
| 197 "Permissions": [ | |
| 198 { | |
| 199 "perm": "idle" | |
| 200 } | |
| 201 ] | |
| 202 }, | |
| 203 "input_ime": { | |
| 204 "Permissions": [ | |
| 205 { | |
| 206 "perm": "input" | |
| 207 } | |
| 208 ] | |
| 209 }, | |
| 210 "management": { | |
| 211 "Permissions": [ | |
| 212 { | |
| 213 "perm": "management" | |
| 214 } | |
| 215 ] | |
| 216 }, | |
| 217 "mediaGalleries": { | |
| 218 "Learn More": [ | |
| 219 { | |
| 220 "link": "https://developers.google.com/live/shows/10479832/", | |
| 221 "text": "Chrome Office Hours: The Media Galleries API" | |
| 222 } | |
| 223 ], | |
| 224 "Permissions": [ | |
| 225 { | |
| 226 "perm": "mediaGalleries", | |
| 227 "text": "\"read\"" | |
| 228 }, | |
| 229 { | |
| 230 "perm": "mediaGalleries", | |
| 231 "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
| |
| 232 }, | |
| 233 { | |
| 234 "text": "See <a href='#manifest'>Manifest</a> below for more information ." | |
| 235 } | |
| 236 ] | |
| 237 }, | |
| 238 "notifications": { | |
| 239 "Learn More": [ | |
| 240 { | |
| 241 "link": "https://developers.google.com/live/shows/83992232-1001/", | |
| 242 "text": "Chrome Apps Office Hours: Rich Notifications" | |
| 243 } | |
| 244 ], | |
| 245 "Permissions": [ | |
| 246 { | |
| 247 "perm": "notifications" | |
| 248 } | |
| 249 ] | |
| 250 }, | |
| 251 "pageCapture": { | |
| 252 "Permissions": [ | |
| 253 { | |
| 254 "perm": "pageCapture" | |
| 255 } | |
| 256 ] | |
| 257 }, | |
| 258 "power": { | |
| 259 "Permissions": [ | |
| 260 { | |
| 261 "perm": "power" | |
| 262 } | |
| 263 ] | |
| 264 }, | |
| 265 "privacy": { | |
| 266 "Permissions": [ | |
| 267 { | |
| 268 "perm": "privacy" | |
| 269 } | |
| 270 ] | |
| 271 }, | |
| 272 "proxy": { | |
| 273 "Permissions": [ | |
| 274 { | |
| 275 "perm": "proxy" | |
| 276 } | |
| 277 ] | |
| 278 }, | |
| 279 "pushMessaging": { | |
| 280 "Learn More": [ | |
| 281 { | |
| 282 "link": "cloudMessaging.html", | |
| 283 "text": "Google Cloud Messaging for Chrome" | |
| 284 }, | |
| 285 { | |
| 286 "link": "gcm_server.html", | |
| 287 "text": "API Reference for GCM service" | |
| 288 } | |
| 289 ], | |
| 290 "Permissions": [ | |
| 291 { | |
| 292 "perm": "pushMessaging" | |
| 293 } | |
| 294 ] | |
| 295 }, | |
| 296 "runtime": { | |
| 297 "Learn More": [ | |
| 298 { | |
| 299 "link": "app_lifecycle.html", | |
| 300 "text": "Manage App Lifecycle" | |
| 301 }, | |
| 302 { | |
| 303 "link": "event_pages.html", | |
| 304 "text": "Event Pages" | |
| 305 } | |
| 306 ] | |
| 307 }, | |
| 308 "serial": { | |
| 309 "Learn More": [ | |
| 310 { | |
| 311 "link": "app_hardware.html", | |
| 312 "text": "Accessing Hardware Devices" | |
| 313 } | |
| 314 ], | |
| 315 "Permissions": [ | |
| 316 { | |
| 317 "perm": "serial" | |
| 318 } | |
| 319 ] | |
| 320 }, | |
| 321 "socket": { | |
| 322 "Learn More": [ | |
| 323 { | |
| 324 "link": "app_network.html", | |
| 325 "text": "Network Communications" | |
| 326 }, | |
| 327 { | |
| 328 "link": "sencha_framework.html", | |
| 329 "text": "Build Apps with Sencha ExtJS" | |
| 330 }, | |
| 331 { | |
| 332 "link": "https://developers.google.com/live/shows/7320022-5001/", | |
| 333 "text": "Chrome Apps Office Hours: Networking APIs" | |
| 334 }, | |
| 335 { | |
| 336 "link": "https://developers.google.com/live/shows/7320022-2001/", | |
| 337 "text": "Chrome Apps Office Hours: Controlling an AR ParrotDrone" | |
| 338 } | |
| 339 ], | |
| 340 "Permissions": [ | |
| 341 { | |
| 342 "perm": "socket", | |
| 343 "text": "\"rule1\", \"rule2\"" | |
| 344 }, | |
| 345 { | |
| 346 "text": "For example: <code>\"socket\": [\"tcp-connect:*:*\"]</code> mea ns connecting on any port of any host. See <a link='app_network.html'>Network Co mmunications</a> for rule syntax." | |
| 347 } | |
| 348 ] | |
| 349 }, | |
| 350 "storage": { | |
| 351 "Learn More": [ | |
| 352 { | |
| 353 "link": "https://developers.google.com/live/shows/7320022/", | |
| 354 "text": "Chrome Apps Office Hours: Chrome Storage APIs" | |
| 355 }, | |
| 356 { | |
| 357 "link": "https://developers.google.com/live/shows/7320022-1/", | |
| 358 "text": "Chrome Apps Office Hours: Storage API Deep Dive" | |
| 359 } | |
| 360 ], | |
| 361 "Permissions": [ | |
| 362 { | |
| 363 "perm": "storage" | |
| 364 } | |
| 365 ] | |
| 366 }, | |
| 367 "syncFileSystem": { | |
| 368 "Learn More": [ | |
| 369 { | |
| 370 "link": "http://developer.chrome.com/trunk/apps/app_storage.html", | |
| 371 "text": "Manage Data" | |
| 372 }, | |
| 373 { | |
| 374 "link": "https://developers.google.com/live/shows/83992232-2001/", | |
| 375 "text": "Chrome Office Hours: Synched File System" | |
| 376 } | |
| 377 ], | |
| 378 "Permissions": [ | |
| 379 { | |
| 380 "perm": "syncFileSystem" | |
| 381 } | |
| 382 ] | |
| 383 }, | |
| 384 "tabs": { | |
| 385 "Permissions": [ | |
| 386 { | |
| 387 "perm": "tabs" | |
| 388 } | |
| 389 ] | |
| 390 }, | |
| 391 "textSettings": { | |
| 392 "Permissions": [ | |
| 393 { | |
| 394 "perm": "textSettings" | |
| 395 } | |
| 396 ] | |
| 397 }, | |
| 398 "topSites": { | |
| 399 "Permissions": [ | |
| 400 { | |
| 401 "perm": "topSites" | |
| 402 } | |
| 403 ] | |
| 404 }, | |
| 405 "tts": { | |
| 406 "Learn More": [ | |
| 407 { | |
| 408 "link": "https://developers.google.com/live/shows/7320022-7001/", | |
| 409 "text": "Chrome Office Hours: Text to Speech API" | |
| 410 } | |
| 411 ], | |
| 412 "Permissions": [ | |
| 413 { | |
| 414 "perm": "tts" | |
| 415 } | |
| 416 ] | |
| 417 }, | |
| 418 "ttsEngine": { | |
| 419 "Permissions": [ | |
| 420 { | |
| 421 "perm": "ttsEngine" | |
| 422 } | |
| 423 ] | |
| 424 }, | |
| 425 "usb": { | |
| 426 "Learn More": [ | |
| 427 { | |
| 428 "link": "app_hardware.html", | |
| 429 "text": "Accessing Hardware Devices" | |
| 430 } | |
| 431 ], | |
| 432 "Permissions": [ | |
| 433 { | |
| 434 "perm": "usb" | |
| 435 } | |
| 436 ] | |
| 437 }, | |
| 438 "webNavigation": { | |
| 439 "Permissions": [ | |
| 440 { | |
| 441 "perm": "webNavigation" | |
| 442 } | |
| 443 ] | |
| 444 }, | |
| 445 "webRequest": { | |
| 446 "Permissions": [ | |
| 447 { | |
| 448 "perm": "webRequest" | |
| 449 }, | |
| 450 { | |
| 451 "link": "declare_permissions.html", | |
| 452 "text": "host permissions" | |
| 453 } | |
| 454 ] | |
| 455 }, | |
| 456 "webstore": { | |
| 457 "Learn More": [ | |
| 458 { | |
| 459 "link": "https://developers.google.com/chrome/web-store/docs/inline_inst allation", | |
| 460 "text": "Using Inline Installation" | |
| 461 } | |
| 462 ] | |
| 463 }, | |
| 464 "windows": { | |
| 465 "Permissions": [ | |
| 466 { | |
| 467 "perm": "tabs" | |
| 468 } | |
| 469 ] | |
| 470 } | |
| 471 } | |
| OLD | NEW |