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

Side by Side 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, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <p>
2 The media galleries API allows you to access media files (images,
3 video, audio) from the user's local disks (with the user's consent).
4 </p>
5
6 <p>
7 Using the API, you can prompt the user for permission to access the media
8 galleries. The permission dialog will contain common media locations for
9 the platform and will allow the user to add additional locations. From those
10 locations, only media files will be present in the file system objects.
11 </P>
12
13 <h2 id="manifest">Manifest</h2>
14 <p>You must declare the type of access to the media gallery you require
15 in your extension's manifest to use the API. Currently only the
16 "mediaGalleriesRead" permission is allowed. This permission does not
17 currently trigger an install time permission prompt because it requires
18 the user to grant permission at runtime.</p>
19
20 <p>
21 You may also specify the "mediaGalleriesAllGalleries" permission to get
22 access to all auto-detected media galleries on the user's computer. This
23 permission displays an install time prompt indicating that the extension
24 will have access to all of the user's media files.
25 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698