[System-Keyboard-Lock] Add KeycodeConverter::CodeStringToNativeKeycode() function
Native keycode is used in system keyboard lock feature to understand the input requested keys from Javascript API. Also for consistency, CodeToUsbKeycode() has been renamed to CodeStringToUsbKeycode(). You will find the usage of the newly added function in, https://codereview.chromium.org/2879033002/diff/510001/components/keyboard_lock/keyboard_lock_host.cc function KeyboardLockHost::SetReservedKeyCodes(). For detail, please refer to the design doc at, https://docs.google.com/document/d/1T9gJHYdA1VGZ6QHQeOu0hOacWWWJ7yNEt1VDbLju4bs/edit#heading=h.cgwemqs2j4ta W3C Working Draft: https://garykac.github.io/system-keyboard-lock/ Intent to implement: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/9pauQUAvrcw/lfbG7eunCAAJ A prototype can be found at, https://codereview.chromium.org/2879033002 BUG=680809 Review-Url: https://codereview.chromium.org/2910873002 Cr-Commit-Position: refs/heads/master@{#476544}
Showing
Please register or sign in to comment