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

Side by Side Diff: chrome/common/extensions/docs/apps/mediaGalleries.html

Issue 10821110: Rephrase some of the media galleries permission information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 video, audio) from the user's local disks (with the user's consent). 193 video, audio) from the user's local disks (with the user's consent).
194 </p> 194 </p>
195 <p> 195 <p>
196 Using the API, you can prompt the user for permission to access the media 196 Using the API, you can prompt the user for permission to access the media
197 galleries. The permission dialog will contain common media locations for 197 galleries. The permission dialog will contain common media locations for
198 the platform and will allow the user to add additional locations. From those 198 the platform and will allow the user to add additional locations. From those
199 locations, only media files will be present in the file system objects. 199 locations, only media files will be present in the file system objects.
200 </p> 200 </p>
201 <h2 id="manifest">Manifest</h2> 201 <h2 id="manifest">Manifest</h2>
202 <p>You must declare the type of access to the media gallery you require 202 <p>You must declare the type of access to the media gallery you require
203 in your extension's manifest to use the API. Currently only the 203 in your extension's manifest to use the API. Currently the only access
204 "mediaGalleriesRead" permission is allowed. This permission does not 204 type permission is "mediaGalleriesRead," which will allow your extension
205 currently trigger an install time permission prompt because it requires 205 to read from the media galleries. This permission does not trigger an
206 the user to grant permission at runtime.</p> 206 install time permission prompt because the user must still grant access
207 to particular galleries at runtime unless the "mediaGalleriesAllGalleries"
208 permission is used.</p>
207 <p> 209 <p>
208 You may also specify the "mediaGalleriesAllGalleries" permission to get 210 You may also specify the "mediaGalleriesAllGalleries" permission to get
209 access to all auto-detected media galleries on the user's computer. This 211 access to all auto-detected media galleries on the user's computer. This
210 permission displays an install time prompt indicating that the extension 212 permission displays an install time prompt indicating that the extension
211 will have access to all of the user's media files. 213 will have access to all of the user's media files.
212 </p> 214 </p>
213 <!-- END AUTHORED CONTENT --> 215 <!-- END AUTHORED CONTENT -->
214 </div> 216 </div>
215 <!-- API PAGE --> 217 <!-- API PAGE -->
216 <div class="apiPage"> 218 <div class="apiPage">
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 _uff=0; 414 _uff=0;
413 urchinTracker(); 415 urchinTracker();
414 } 416 }
415 catch(e) {/* urchinTracker not available. */} 417 catch(e) {/* urchinTracker not available. */}
416 </script> 418 </script>
417 <!-- end analytics --> 419 <!-- end analytics -->
418 </div> 420 </div>
419 </div> <!-- /gc-footer --> 421 </div> <!-- /gc-footer -->
420 </div> <!-- /gc-container --> 422 </div> <!-- /gc-container -->
421 </body></html> 423 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698