[KeyboardLock] Adding a SystemKeyboardLock feature
This feature controls whether the low-level keyboard hook is enabled
when keyboard lock is requested. I wanted to separate browser and
system level keyboard lock functionality as I get closer to launching
the blink api for keyboard lock. This will allow us to release
browser-level keyboard lock w/o the system hooks if needed and will
also give us the ability to target a finch kill switch for the
system-level functionality if needed.
BUG=680809
Change-Id: I2d522046c90fd8776bfb1d9c53978f2c41e1c7cc
Reviewed-on: https://chromium-review.googlesource.com/1046154
Reviewed-by: Scott Violet <[email protected]>
Commit-Queue: Joe Downing <[email protected]>
Cr-Commit-Position: refs/heads/master@{#558367}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 6a57ffd7..6994314 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -1593,6 +1593,12 @@
const char kSyncSandboxDescription[] =
"Connects to the testing server for Chrome Sync.";
+const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
+const char kSystemKeyboardLockDescription[] =
+ "Enables websites to use the keyboard.lock() API to intercept system "
+ "keyboard shortcuts and have the events routed directly to the website "
+ "when in fullscreen mode.";
+
const char kTabAudioMutingName[] = "Tab audio muting UI control";
const char kTabAudioMutingDescription[] =
"When enabled, the audio indicators in the tab strip double as tab audio "