commit | b07027a8443e6c2b075038a5665f408f10a7b05c | [log] [tgz] |
---|---|---|
author | Matt Reynolds <mattreynolds@chromium.org> | Tue May 21 23:43:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 21 23:43:26 2019 |
tree | 79adbfdf829b12fa39749bc105f5e6fa253cd070 | |
parent | 2def102b8c6f35b8a8ac55c23471ea1bf1fc39cc [diff] |
Add HID device chooser and related settings This CL adds a chooser for HID devices based off of the existing choosers for USB, Bluetooth, and serial. Two new settings are registered: CONTENT_SETTINGS_TYPE_HID_GUARD determines whether the HID chooser can be displayed. Set to CONTENT_SETTING_ASK to enable the chooser, or CONTENT_SETTING_BLOCK to disable it. CONTENT_SETTINGS_TYPE_HID_CHOOSER_DATA will be used to store permission information for devices requested through the HID chooser. BUG=890096 Change-Id: I9fdd3866cb7765d849a26753498be3bc1129a250 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585461 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Finnur Thorarinsson <finnur@chromium.org> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: Balazs Engedy <engedy@chromium.org> Reviewed-by: Jun Cai <juncai@chromium.org> Reviewed-by: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#661976}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .