Commit 419443d7 authored by Judy Wang's avatar Judy Wang Committed by Commit Bot

accelerators: Disable screenshot accelerators on login screen.

Test: Manually tested on Dut.
Fixed: 1146655
Change-Id: If922581c6987815dacf4277359dcf2ff98a4bd31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532309
Commit-Queue: Judy Wang <shidi@chromium.org>
Reviewed-by: default avatarSammie Quon <sammiequon@chromium.org>
Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826982}
parent 6e5cadb7
...@@ -173,9 +173,6 @@ const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { ...@@ -173,9 +173,6 @@ const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = {
START_AMBIENT_MODE, START_AMBIENT_MODE,
SWITCH_TO_LAST_USED_IME, SWITCH_TO_LAST_USED_IME,
SWITCH_TO_NEXT_IME, SWITCH_TO_NEXT_IME,
TAKE_PARTIAL_SCREENSHOT,
TAKE_SCREENSHOT,
TAKE_WINDOW_SCREENSHOT,
TOGGLE_CAPS_LOCK, TOGGLE_CAPS_LOCK,
TOGGLE_DICTATION, TOGGLE_DICTATION,
TOGGLE_DOCKED_MAGNIFIER, TOGGLE_DOCKED_MAGNIFIER,
...@@ -199,7 +196,11 @@ const size_t kActionsAllowedAtLoginOrLockScreenLength = ...@@ -199,7 +196,11 @@ const size_t kActionsAllowedAtLoginOrLockScreenLength =
base::size(kActionsAllowedAtLoginOrLockScreen); base::size(kActionsAllowedAtLoginOrLockScreen);
const AcceleratorAction kActionsAllowedAtLockScreen[] = { const AcceleratorAction kActionsAllowedAtLockScreen[] = {
EXIT, SUSPEND, EXIT,
SUSPEND,
TAKE_PARTIAL_SCREENSHOT,
TAKE_SCREENSHOT,
TAKE_WINDOW_SCREENSHOT,
}; };
const size_t kActionsAllowedAtLockScreenLength = const size_t kActionsAllowedAtLockScreenLength =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment