commit | 2d655f60eebc3d2484e68eb79e779ef6f75666dc | [log] [tgz] |
---|---|---|
author | Tommy Steimel <steimel@chromium.org> | Fri Jan 11 06:25:44 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 06:25:44 2019 |
tree | 6c40c67dc612256e05786f7aa148936d631678b1 | |
parent | 4cfb095f09183890455d45cd5695d67eda28d6a7 [diff] |
[Global Media Controls] RegisterHotKey for GlobalMediaKeysListenerWin This CL refactors the GlobalMediaKeysListenerWin to use RegisterHotKey to receive media key input instead of using a low-level keyboard hook. This has a few key advantages: - No need for separate, dedicated thread to avoid key input delays - Will be cleaner to use with GlobalShortcutListenerWin since we need to support extension shortcut listeners alongside the upcoming HardwareKeyMediaController - Will play more nicely with other native Windows applications (albeit at the cost of being slightly less powerful) Bug: 902379 Change-Id: I055df46a0231a4abb08cf3786fc58140c2a47241 Reviewed-on: https://chromium-review.googlesource.com/c/1401363 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#621922}
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 .