DescriptionAdd more generic filters to the chrome.hid.getDevices API.
Instead of specifying each of the USB vendor and product ID pairs an
app has permission to open this API extension allows filtering of
devices by vendor and product IDs as well as HID usage pages and
usages. The 'vendorId' and 'productId' properties of GetDevicesOptions
are still supported for backwards compatibility.
BUG=
Committed: https://crrev.com/f4dc9d143de2350fc4879c178059737997944016
Cr-Commit-Position: refs/heads/master@{#292577}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Put static on its own line. #
Total comments: 3
Patch Set 3 : Document the deprecated properties and the suggested filter replacement. #
Total comments: 2
Patch Set 4 : Clean up the chrome.hid documentation even more. #
Messages
Total messages: 16 (0 generated)
|