commit | ea76b94b585010805307be79aa2892ba04d09333 | [log] [tgz] |
---|---|---|
author | Jack Hsieh <chengweih@chromium.org> | Tue Dec 13 16:37:05 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 13 16:37:05 2022 |
tree | f4b3ce5bf2bc82acd1d2931949b3105c3a82426b | |
parent | dd27897605635e17aa7fbdce32fab057ac6debbb [diff] |
hid: Abstract HidSystemTrayIcon class for profiles' HID connections The change is part of the change list chain for go/usb-hid-extension-permission-ux that we need to show an icon to have users aware Chrome is accessing HID device(s) and create a notification to notify users that an extension just opens a connection to a HID device. This changelist adds an abstract HidSystemTrayIcon class which is called by HidConnectionTracker to notify the number of connections for its profile. In the following changes after this changelist, there will be new classes for implementing HidSystemTrayIcon on different platforms. Bug: 1360981 Change-Id: I4b4a30df755fa67901da1608d97aba093ad6c589 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4032656 Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: Jack Hsieh <chengweih@chromium.org> Cr-Commit-Position: refs/heads/main@{#1082472}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.