Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 2910873002: [System-Keyboard-Lock] Add KeycodeConverter::CodeStringToNativeKeycode() function (Closed)

Created:
3 years, 6 months ago by Hzj_jie
Modified:
3 years, 6 months ago
Reviewers:
garykac
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[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} Committed: https://chromium.googlesource.com/chromium/src/+/3118ff1d918e589cf32d4def65d3d40411b44428

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M remoting/client/plugin/pepper_input_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/events/keycodes/dom/keycode_converter.h View 1 3 chunks +8 lines, -5 lines 0 comments Download
M ui/events/keycodes/dom/keycode_converter.cc View 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 20 (15 generated)
Hzj_jie
3 years, 6 months ago (2017-05-28 20:59:47 UTC) #7
garykac
lgtm https://codereview.chromium.org/2910873002/diff/1/ui/events/keycodes/dom/keycode_converter.h File ui/events/keycodes/dom/keycode_converter.h (right): https://codereview.chromium.org/2910873002/diff/1/ui/events/keycodes/dom/keycode_converter.h#newcode105 ui/events/keycodes/dom/keycode_converter.h:105: // Convert a DOM3 Event |code| string into ...
3 years, 6 months ago (2017-06-02 01:19:38 UTC) #8
Hzj_jie
https://codereview.chromium.org/2910873002/diff/1/ui/events/keycodes/dom/keycode_converter.h File ui/events/keycodes/dom/keycode_converter.h (right): https://codereview.chromium.org/2910873002/diff/1/ui/events/keycodes/dom/keycode_converter.h#newcode105 ui/events/keycodes/dom/keycode_converter.h:105: // Convert a DOM3 Event |code| string into a ...
3 years, 6 months ago (2017-06-02 02:13:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2910873002/20001
3 years, 6 months ago (2017-06-02 03:10:58 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 03:14:59 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3118ff1d918e589cf32d4def65d3...

Powered by Google App Engine
This is Rietveld 408576698