summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_collection_info.h
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2014-08-28 22:52:48 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-29 05:53:46 +0000
commitf4dc9d143de2350fc4879c178059737997944016 (patch)
treede808301f613297af60b8ce5bdee43cc2b511264 /device/hid/hid_collection_info.h
parent3a05d24b124114e117c2d81592edbd14bbcf1b1c (diff)
downloadchromium_src-f4dc9d143de2350fc4879c178059737997944016.zip
chromium_src-f4dc9d143de2350fc4879c178059737997944016.tar.gz
chromium_src-f4dc9d143de2350fc4879c178059737997944016.tar.bz2
Add 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= Review URL: https://codereview.chromium.org/514923002 Cr-Commit-Position: refs/heads/master@{#292577}
Diffstat (limited to 'device/hid/hid_collection_info.h')
0 files changed, 0 insertions, 0 deletions