-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webhid] Add WebContents::IsConnectedToHidDevice
IsConnectedToHidDevice returns true if any frame in the WebContents is connected to a HID device. This will enable a tab indicator icon to be displayed when a tab has an open HID connection. HidService monitors the number of open HID connections for a frame and notifies WebContentsImpl when the count transitions between zero and one. BUG=1007539 Change-Id: I4b7020af97bcb50e2b26e5865519bcd5f77c63a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823727 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#711979}
- Loading branch information
Matt Reynolds
authored and
Commit Bot
committed
Nov 2, 2019
1 parent
4738af3
commit e8c6c1f
Showing
6 changed files
with
93 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters