DescriptionUnify and change logout/sleep/lock shortcuts
This CL implements an exit warning and requires the user to hold
the exit shortcut for a while, before actually exiting. This is
to prevent accidental exits due shortcut mistakes.
Expert user can exit quickly with a double press.
This is a second CL on this topic (see crrev.com/200204). The first
had issues by relying on release events, which this CL does not.
BUG=225903
R=sky@chromium.org
TEST=manual
out/Debug/ash_unittests --gtest_filter='AcceleratorControllerTest.ExitWarningHandlerTest*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200957
Patch Set 1 #
Total comments: 6
Patch Set 2 : comment #Patch Set 3 : update #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|