DescriptionVolume Up/Down/Mute are handled within Chrome itself, without depending on Window Manager. The SystemKeyEventListener keyboard filter is instantiated in screen_locker as well as browser_init, so these keys will be handled at the screen lock and when logged in.
The on-screen UI is shown when logged in, but currently is not being allowed to show at screen lock. (A screen lock can be forced with /usr/bin/powerd_lock_screen).
After this patch, keyboard handling within Chrome supersedes the key handling in window_manager.cc, and so that functionality can safely be removed (http://codereview.chromium.org/4159004) and chromeos_wm_ipc_enums.h (http://codereview.chromium.org/4172004). Related bug is http://crosbug.com/6074 .
BUG=chromium-os:6074
TEST=Volume Up/Down and Mute keys should work when screen is locked and when logged in normally.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64709
Patch Set 1 : patch #
Total comments: 4
Patch Set 2 : formatting #
Total comments: 1
Patch Set 3 : nit fix #
Total comments: 1
Patch Set 4 : Using XGrabKey #
Total comments: 4
Patch Set 5 : fixed formatting #
Total comments: 11
Patch Set 6 : more nit fixing #Patch Set 7 : Backed out caching Singleton instance #
Messages
Total messages: 13 (0 generated)
|