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

Unified Diff: chrome/common/extensions/docs/templates/intros/mediaGalleries.html

Issue 11635032: Added introductory tables to Chrome apps APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/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

Powered by Google App Engine
This is Rietveld 408576698