| OLD | NEW |
| 1 <table class="intro"> | 1 <table class="intro"> |
| 2 <tr> | 2 <tr> |
| 3 <th scope="col"></th> | 3 <th scope="col"></th> |
| 4 <th scope="col"></th> | 4 <th scope="col"></th> |
| 5 </tr> | 5 </tr> |
| 6 <tr> | 6 <tr> |
| 7 <td><strong>Description:</strong></td> | |
| 8 <td>Use the <code>chrome.mediaGalleries</code> API | |
| 9 to access media files (images, video, audio) | |
| 10 from the user's local disks (with the user's consent).</td> | |
| 11 </tr> | |
| 12 <tr> | |
| 13 <td><strong>Availability:</strong></td> | |
| 14 <td>Google Chrome 23 (read permission)</td> | |
| 15 </tr> | |
| 16 <tr> | |
| 17 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
| 18 <td><code>"mediaGalleries": ["read"]</code>, | 8 <td><code>"mediaGalleries": ["read"]</code>, |
| 19 <code>"mediaGalleries": ["read", "allAutoDetected"]</code><br> | 9 <code>"mediaGalleries": ["read", "allAutoDetected"]</code><br> |
| 20 See <a href="#manifest">Manifest</a> below | 10 See <a href="#manifest">Manifest</a> below |
| 21 for more information.</td> | 11 for more information.</td> |
| 22 </tr> | 12 </tr> |
| 23 <tr> | 13 <tr> |
| 24 <td><strong>Learn more:</strong></td> | 14 <td><strong>Learn more:</strong></td> |
| 25 <td><a href="https://developers.google.com/live/shows/10479832/">Chrome Offi
ce Hours: The Media Galleries API</a></td> | 15 <td><a href="https://developers.google.com/live/shows/10479832/">Chrome Offi
ce Hours: The Media Galleries API</a></td> |
| 26 </tr> | 16 </tr> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 }</pre> | 56 }</pre> |
| 67 | 57 |
| 68 <p>This permission will trigger an install time permission prompt | 58 <p>This permission will trigger an install time permission prompt |
| 69 and let the app read from all auto-detected media galleries on the | 59 and let the app read from all auto-detected media galleries on the |
| 70 user's computer. The user may add or remove galleries using the | 60 user's computer. The user may add or remove galleries using the |
| 71 media gallery management dialog, after which the app will be able | 61 media gallery management dialog, after which the app will be able |
| 72 to read all the media files from galleries that the user has selected.</p> | 62 to read all the media files from galleries that the user has selected.</p> |
| 73 | 63 |
| 74 <p>Currently "read" is the only access type supported by | 64 <p>Currently "read" is the only access type supported by |
| 75 this API. Read-write and add-file access with be implemented soon.</p> | 65 this API. Read-write and add-file access with be implemented soon.</p> |
| OLD | NEW |