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

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

Issue 721033003: Fix Chrome OS spelling in documentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 <h1 id="file_handlers">Manifest - File Handlers</h1> 1 <h1 id="file_handlers">Manifest - File Handlers</h1>
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
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 The <code>title</code> attribute is mandatory on Chrome 45 The <code>title</code> attribute is mandatory on Chrome
46 version 37 and earlier. As of Chrome version 38, it is deprecated and 46 version 37 and earlier. As of Chrome version 38, it is deprecated and
47 will be ignored (the app's name will be used instead). For 47 will be ignored (the app's name will be used instead). For
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 ChromeOS 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

Powered by Google App Engine
This is Rietveld 408576698