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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/manifest/file_system_provider.html

Issue 1127273004: Update documentation for "file_system_provider" manifest section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/intros/fileSystemProvider.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <h1 id="file_handlers">Manifest - File Handlers</h1> 1 <h1 id="file_handlers">Manifest - File Handlers</h1>
benwells 2015/05/08 03:18:08 Is this meant to be the app file handler documenta
mtomasz 2015/05/08 09:07:20 Accidental change. Reverted.
2 2
3 <p> 3 <p>
4 Used by <a href="../app_lifecycle#eventpage">packaged apps</a> 4 Used by <a href="../app_lifecycle#eventpage">packaged apps</a>
5 to specify what types of files the app can handle. An app can have multiple 5 to specify what types of files the app can handle. An app can have multiple
6 <code>file_handlers</code>, with each one having an identifier, a list of MIME 6 <code>file_handlers</code>, with each one having an identifier, a list of MIME
7 types and/or a list of file extensions that can be handled. 7 types and/or a list of file extensions that can be handled.
8 The app can handle a file if it either has a matching file extension or 8 The app can handle a file if it either has a matching file extension or
9 has a matching MIME type. 9 has a matching MIME type.
10 You can use a wildcard <code>"*"</code> in <code>types</code> or 10 You can use a wildcard <code>"*"</code> in <code>types</code> or
11 <code>extensions</code> to indicate that the app can handle any file type or 11 <code>extensions</code> to indicate that the app can handle any file type or
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 compatibility, <code>title</code> should always be the name of the app. 48 compatibility, <code>title</code> should always be the name of the app.
49 </p> 49 </p>
50 50
51 <p> 51 <p>
52 To handle files, apps also need to declare the $(ref:fileSystem) 52 To handle files, apps also need to declare the $(ref:fileSystem)
53 permission. Apps can then be passed files in the $(ref:app.runtime.onLaunched) 53 permission. Apps can then be passed files in the $(ref:app.runtime.onLaunched)
54 event - either from the system 54 event - either from the system
55 file manager (currently supported on Chrome OS only) or by providing 55 file manager (currently supported on Chrome OS only) or by providing
56 a path on the <a href="../first_app#open">command line</a>. 56 a path on the <a href="../first_app#open">command line</a>.
57 </p> 57 </p>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/intros/fileSystemProvider.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698