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

Side by Side Diff: extensions/common/api/extensions_manifest_types.json

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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The type schemas for structured manifest items. Not actually a callable API. 5 // The type schemas for structured manifest items. Not actually a callable API.
6 6
7 [ 7 [
8 { 8 {
9 "namespace": "extensionsManifestTypes", 9 "namespace": "extensionsManifestTypes",
10 "description": "Schemas for structured manifest entries", 10 "description": "Schemas for structured manifest entries",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "type": "boolean", 155 "type": "boolean",
156 "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothSocket) API", 156 "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothSocket) API",
157 "optional": true 157 "optional": true
158 }, 158 },
159 "low_energy": { 159 "low_energy": {
160 "type": "boolean", 160 "type": "boolean",
161 "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothLowEnergy) API", 161 "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothLowEnergy) API",
162 "optional": true 162 "optional": true
163 } 163 }
164 } 164 }
165 },
166 {
167 "id": "UsbPrinters",
168 "type": "object",
169 "description": "The <code>usb_printers</code> manifest property lists th e USB printers supported by an app implementing the $(ref:printerProvider) API." ,
170 "properties": {
171 "filters": {
172 "description": "A list of $(ref:usb.DeviceFilter USB device filters) matching supported devices. A device only needs to match one of the provided fi lters. A <code>vendorId</code> is required and only one of <code>productId</code > or <code>interfaceClass</code> may be provided.",
173 "type": "array",
174 "items": {
175 "type": "object",
176 "properties": {
177 "vendorId": {
178 "description": "USB vendor ID of matching devices",
179 "type": "integer"
180 },
181 "productId": {
182 "description": "USB product ID of matching devices",
183 "type": "integer",
184 "optional": true
185 },
186 "interfaceClass": {
187 "description": "USB interface class implemented by any interfa ce of a matching device.",
188 "type": "integer",
189 "optional": true
190 },
191 "interfaceSubclass": {
192 "description": "USB interface sub-class implemented by the int erface matching $(ref:interfaceClass).",
193 "type": "integer",
194 "optional": true
195 },
196 "interfaceProtocol": {
197 "description": "USB interface protocol implemented by the inte rface matching $(ref:interfaceClass) and $(ref:interfaceSubclass).",
198 "type": "integer",
199 "optional": true
200 }
201 }
202 }
203 }
204 }
165 } 205 }
166 ] 206 ]
167 } 207 }
168 ] 208 ]
OLDNEW
« no previous file with comments | « extensions/common/api/_manifest_features.json ('k') | extensions/common/api/printer_provider/usb_printer_manifest_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698