DescriptionPreviously reviewed here:
https://codereview.chromium.org/60353008/
Mac-specific implementation of the GlobalShortcutListener class that
listens for global shortcuts. Handles basic keyboard intercepting and
forwards its output to the base class for processing.
Adds two things:
1. Intercepts media keys. Uses an event tap for intercepting media keys
(PlayPause, NextTrack, PreviousTrack).
2. Binds keyboard shortcuts (hot keys). Carbon RegisterEventHotKey API for
binding to non-media key global hot keys (eg. Command-Shift-1).
Mac tests added but disabled while we figure out flakiness it causes in another test.
BUG=302437
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241864
Patch Set 1 #Patch Set 2 : Disable test for now #
Messages
Total messages: 2 (0 generated)
|