commit | 53bfe24384b08243df09c19c825d663cb00882f5 | [log] [tgz] |
---|---|---|
author | Tommy Steimel <steimel@chromium.org> | Mon Apr 08 23:16:12 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Apr 08 23:16:12 2019 |
tree | 5cadcb0bb0f8433090134d134f7c6b1c22469ecf | |
parent | 7fdaf643580017b78db3a01dbd336c7d3f96d1ff [diff] |
Use System Media Transport Controls to get media keys when available This CL adds a new MediaKeysListener implementation for Windows that connects to the System Media Transport Controls in order to get media key events. This is much more user-friendly than using RegisterHotKey especially when the user has other OS apps open that use media keys. We will still fall back to the RegisterHotKey method whenever System Media Transport Controls is unavailable. Bug: 948920 Change-Id: I88c7895194783f22f880f8d493c406e12f6cb246 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546204 Commit-Queue: Tommy Steimel <steimel@chromium.org> Reviewed-by: Robert Liao <robliao@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#648923}
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 .