| Index: chrome/common/extensions/docs/templates/intros/mediaGalleries.html
|
| diff --git a/chrome/common/extensions/docs/templates/intros/mediaGalleries.html b/chrome/common/extensions/docs/templates/intros/mediaGalleries.html
|
| index 892d9f21e43a3ab135c5458dc954ee2e939149cf..e34f5959fc249fd1afe8c80a7693e28c7969a767 100644
|
| --- a/chrome/common/extensions/docs/templates/intros/mediaGalleries.html
|
| +++ b/chrome/common/extensions/docs/templates/intros/mediaGalleries.html
|
| @@ -1,7 +1,32 @@
|
| -<p>
|
| -The media galleries API allows you to access media files (images,
|
| -video, audio) from the user's local disks (with the user's consent).
|
| -</p>
|
| +<table class="intro">
|
| + <tr>
|
| + <th scope="col"></th>
|
| + <th scope="col"></th>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Description:</strong></td>
|
| + <td>Use the <code>chrome.mediaGalleries</code> API
|
| + to access media files (images, video, audio)
|
| + from the user's local disks (with the user's consent).</td>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Availability:</strong></td>
|
| + <td>Google Chrome 23</td>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Permissions:</strong></td>
|
| + <td><code>"mediaGalleries": ["read"]</code>,
|
| + <code>"mediaGalleries": ["read", "allAutoDetected"]</code><br>
|
| + See <a href="#manifest">Manifest</a> below
|
| + for more information.</td>
|
| + </tr>
|
| + <tr>
|
| + <td><strong>Learn more:</strong></td>
|
| + <td><a href="https://developers.google.com/live/shows/10479832/">Chrome Office Hours: The Media Galleries API</a></td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<h2 id="usage">Usage</h2>
|
|
|
| <p>
|
| Using the API, you can prompt the user for permission to access the media
|
|
|