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

Unified Diff: chrome/common/extensions/docs/extensions/fileSystem.html

Issue 10692105: Updates file type selector for fileSystem API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mihai's suggestions 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/extensions/fileSystem.html
diff --git a/chrome/common/extensions/docs/extensions/fileSystem.html b/chrome/common/extensions/docs/extensions/fileSystem.html
index e5e88acdad657695a97fe518d0f32131eead7a56..1bc95b44b361d364bd435460759e1e82637bd4fb 100644
--- a/chrome/common/extensions/docs/extensions/fileSystem.html
+++ b/chrome/common/extensions/docs/extensions/fileSystem.html
@@ -858,6 +858,60 @@
<div>
<div>
<dt>
+ <var>accepts</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>
+ array of <span><span>
+ <span>
+ <span>string</span>
+ </span>
+ </span></span>
+ </span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>The optional list of accepted mime-types for this file opener, grouped by type. For example, <code>['image/*', 'text/html,.jso']</code> would display two type options - one accepting images - and the other accepting HTML files and those with the extension 'jso'. This field is optional. However, it is an error to not specify this field (or pass an empty array) but pass acceptsAllTypes as false.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
+ <var>acceptsAllTypes</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>boolean</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>Whether to accept all file types, in addition to the options specified in the accepts argument. The default is true.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
<var>suggestedName</var>
<em>
<!-- TYPE -->

Powered by Google App Engine
This is Rietveld 408576698