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

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

Issue 1123093003: Add a manifest property declaring USB printers supported by an app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interfaceProtocol documentation. 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/json/manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <h1>Manifest - USB Printers</h1>
2
3 <p>
4 The <code>usbPrinters</code> manifest property declares which USB printers are s upported by an app using the $(ref:printerProvider) API.
5 </p>
6
7 <h2 id="manifest">Sample manifest.json</h2>
8 <pre data-filename="manifest.json">
9 {
10 "name": "My printer {{platform}}",
11 "usb_printers": {
12 "filters": [
13 // This app can print to the Nexus One and any printer made by Google.
14 { "vendorId": 6353, "productId": 19985 },
15 { "vendorId": 6353, "interfaceClass": 7 }
16 ]
17 },
18 ...
19 }
20 </pre>
21
22 <section>
23 <h2 id="reference">Reference</h2>
24 <p class="api_reference">
25 {{+partials.manifest_type
26 type:apis.apps.extensionsManifestTypes.byName.UsbPrinters/}}
27 </p>
28 </section>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/json/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698