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

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

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything but svn stuff Created 8 years, 5 months 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/server2/templates/intros/mediaGalleries.html
diff --git a/chrome/common/extensions/docs/server2/templates/intros/mediaGalleries.html b/chrome/common/extensions/docs/server2/templates/intros/mediaGalleries.html
new file mode 100644
index 0000000000000000000000000000000000000000..c170b31dbdd38dd84f8318db3c7c75ff8e38e6ba
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/intros/mediaGalleries.html
@@ -0,0 +1,25 @@
+<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>
+
+<p>
+Using the API, you can prompt the user for permission to access the media
+galleries. The permission dialog will contain common media locations for
+the platform and will allow the user to add additional locations. From those
+locations, only media files will be present in the file system objects.
+</P>
+
+<h2 id="manifest">Manifest</h2>
+<p>You must declare the type of access to the media gallery you require
+in your extension's manifest to use the API. Currently only the
+"mediaGalleriesRead" permission is allowed. This permission does not
+currently trigger an install time permission prompt because it requires
+the user to grant permission at runtime.</p>
+
+<p>
+You may also specify the "mediaGalleriesAllGalleries" permission to get
+access to all auto-detected media galleries on the user's computer. This
+permission displays an install time prompt indicating that the extension
+will have access to all of the user's media files.
+</p>

Powered by Google App Engine
This is Rietveld 408576698