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

Issue 841263005: Use DOM- rather than Windows-based key code for non-layout cases. (Closed)

Created:
5 years, 11 months ago by kpschoedel
Modified:
5 years, 8 months ago
Reviewers:
sadrul, Wez, spang
CC:
chromium-reviews, kalyank, jdduke+watch_chromium.org, ozone-reviews_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use DOM- rather than Windows-based key code for non-layout cases. BUG=444048 Committed: https://crrev.com/4675e7cbedf99fcc18ae9bfcf19225740fed9387 Cr-Commit-Position: refs/heads/master@{#326111}

Patch Set 1 #

Total comments: 37

Patch Set 2 : rebase #

Total comments: 14

Patch Set 3 : address review comments (wez@) #

Patch Set 4 : Windows build #

Patch Set 5 : Fix virtual keyboard, added caution and unit test #

Total comments: 3

Patch Set 6 : address review comments (sadrul) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1518 lines, -917 lines) Patch
M ui/events/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/events/event.cc View 1 2 3 4 3 chunks +35 lines, -18 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M ui/events/event_utils.h View 1 1 chunk +2 lines, -5 lines 0 comments Download
M ui/events/event_utils.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/keycodes/dom4/keycode_converter.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ui/events/keycodes/dom4/keycode_converter_data.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
A ui/events/keycodes/dom_us_layout_data.h View 1 2 3 4 1 chunk +624 lines, -0 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion.h View 1 2 3 4 4 chunks +50 lines, -10 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion.cc View 1 2 3 4 4 chunks +184 lines, -0 lines 0 comments Download
A ui/events/keycodes/keyboard_code_conversion_unittest.cc View 1 2 3 4 1 chunk +523 lines, -0 lines 0 comments Download
M ui/events/ozone/layout/layout_util.h View 1 chunk +0 lines, -23 lines 0 comments Download
M ui/events/ozone/layout/layout_util.cc View 1 2 1 chunk +0 lines, -531 lines 0 comments Download
M ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc View 1 2 2 chunks +2 lines, -251 lines 0 comments Download
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc View 1 2 3 4 2 chunks +16 lines, -5 lines 0 comments Download
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc View 1 2 3 4 3 chunks +13 lines, -8 lines 0 comments Download
M ui/keyboard/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/keyboard/keyboard.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/keyboard/keyboard_util.cc View 1 2 3 4 5 5 chunks +44 lines, -14 lines 2 comments Download

Messages

Total messages: 37 (14 generated)
kpschoedel
wez@ for ui/events/keycodes/ spang@ for ui/events/ozone/ sadrul@ for ui/events/* This is one of a series ...
5 years, 11 months ago (2015-01-14 21:00:32 UTC) #2
spang
lgtm
5 years, 11 months ago (2015-01-16 18:37:03 UTC) #3
Wez
https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc File ui/events/keycodes/keyboard_code_conversion.cc (right): https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc#newcode19 ui/events/keycodes/keyboard_code_conversion.cc:19: #define DK 0x8000 Use a const char16 for this ...
5 years, 11 months ago (2015-01-17 02:06:48 UTC) #4
kpschoedel
I'm temporarily not working on this while busy with another project, but am publishing the ...
5 years, 10 months ago (2015-02-18 17:14:01 UTC) #6
Wez
Comments on the latest parked state. :) https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc File ui/events/keycodes/keyboard_code_conversion.cc (right): https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc#newcode368 ui/events/keycodes/keyboard_code_conversion.cc:368: // where ...
5 years, 10 months ago (2015-02-19 23:16:09 UTC) #7
kpschoedel
https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc File ui/events/keycodes/keyboard_code_conversion.cc (right): https://codereview.chromium.org/841263005/diff/1/ui/events/keycodes/keyboard_code_conversion.cc#newcode19 ui/events/keycodes/keyboard_code_conversion.cc:19: #define DK 0x8000 On 2015/01/17 02:06:47, Wez wrote: > ...
5 years, 8 months ago (2015-04-10 18:32:34 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841263005/60001
5 years, 8 months ago (2015-04-10 20:37:10 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/55581) win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, ...
5 years, 8 months ago (2015-04-10 22:08:06 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841263005/80001
5 years, 8 months ago (2015-04-14 16:48:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56255)
5 years, 8 months ago (2015-04-14 17:01:53 UTC) #18
Wez
lgtm
5 years, 8 months ago (2015-04-21 02:33:28 UTC) #20
sadrul
Are the test failures related to the CL?
5 years, 8 months ago (2015-04-21 03:26:54 UTC) #21
kpschoedel
On 2015/04/21 03:26:54, sadrul wrote: > Are the test failures related to the CL? They ...
5 years, 8 months ago (2015-04-21 14:23:08 UTC) #22
kpschoedel
Now reviewable.
5 years, 8 months ago (2015-04-21 17:25:48 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841263005/120001
5 years, 8 months ago (2015-04-21 17:26:10 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-21 18:37:02 UTC) #28
sadrul
lgtm https://codereview.chromium.org/841263005/diff/120001/ui/keyboard/keyboard_util.cc File ui/keyboard/keyboard_util.cc (right): https://codereview.chromium.org/841263005/diff/120001/ui/keyboard/keyboard_util.cc#newcode223 ui/keyboard/keyboard_util.cc:223: } This seems a bit unfortunate. Is it ...
5 years, 8 months ago (2015-04-21 18:48:16 UTC) #29
kpschoedel
https://codereview.chromium.org/841263005/diff/120001/ui/keyboard/keyboard_util.cc File ui/keyboard/keyboard_util.cc (right): https://codereview.chromium.org/841263005/diff/120001/ui/keyboard/keyboard_util.cc#newcode223 ui/keyboard/keyboard_util.cc:223: } On 2015/04/21 18:48:16, sadrul wrote: > This seems ...
5 years, 8 months ago (2015-04-21 19:32:07 UTC) #30
sadrul
still lgtm https://codereview.chromium.org/841263005/diff/140001/ui/keyboard/keyboard_util.cc File ui/keyboard/keyboard_util.cc (right): https://codereview.chromium.org/841263005/diff/140001/ui/keyboard/keyboard_util.cc#newcode250 ui/keyboard/keyboard_util.cc:250: } Can lines 214:229 and 234:249 be ...
5 years, 8 months ago (2015-04-21 19:42:17 UTC) #31
kpschoedel
https://codereview.chromium.org/841263005/diff/140001/ui/keyboard/keyboard_util.cc File ui/keyboard/keyboard_util.cc (right): https://codereview.chromium.org/841263005/diff/140001/ui/keyboard/keyboard_util.cc#newcode250 ui/keyboard/keyboard_util.cc:250: } On 2015/04/21 19:42:17, sadrul wrote: > Can lines ...
5 years, 8 months ago (2015-04-21 19:53:15 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841263005/140001
5 years, 8 months ago (2015-04-21 19:53:41 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 8 months ago (2015-04-21 20:58:22 UTC) #36
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 20:59:56 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4675e7cbedf99fcc18ae9bfcf19225740fed9387
Cr-Commit-Position: refs/heads/master@{#326111}

Powered by Google App Engine
This is Rietveld 408576698