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

Issue 2121843002: Don't perform the default action when keyCode is 229. (Closed)

Created:
4 years, 5 months ago by dtapuska
Modified:
4 years, 5 months ago
Reviewers:
bokan
CC:
chromium-reviews, blink-reviews, nzolghadr+blinkwatch_chromium.org, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't perform the default action when keyCode is 229. The keyCode of 229 signifies that this event is being dispatched during an IME composition. Previously keyIdentifier ended up being ProcessKey but with the converstion to key events this started to be processed. Put a conditional around the event to ensure that keyCode == 229 events are discarded. This will eventually be replaced with the isComposing flag that should be added to KeyboardEvent. BUG=620794, 622158 Committed: https://crrev.com/febbb09d4df69afde4e6294a842a02e90a9cabdf Cr-Commit-Position: refs/heads/master@{#403737}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add const definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M third_party/WebKit/Source/core/input/KeyboardEventManager.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
dtapuska
Unfortunately there isn't any great tests to test the IME interaction
4 years, 5 months ago (2016-07-04 21:13:34 UTC) #2
bokan
lgtm % comment/question https://codereview.chromium.org/2121843002/diff/1/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp (right): https://codereview.chromium.org/2121843002/diff/1/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp#newcode168 third_party/WebKit/Source/core/input/KeyboardEventManager.cpp:168: if (event->keyCode() == 229) Does this ...
4 years, 5 months ago (2016-07-04 22:52:06 UTC) #3
dtapuska
On 2016/07/04 22:52:06, bokan wrote: > lgtm % comment/question > > https://codereview.chromium.org/2121843002/diff/1/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp > File third_party/WebKit/Source/core/input/KeyboardEventManager.cpp ...
4 years, 5 months ago (2016-07-05 02:02:33 UTC) #4
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/2121843002/20001
4 years, 5 months ago (2016-07-05 02:02:52 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/250042)
4 years, 5 months ago (2016-07-05 02:49:42 UTC) #9
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/2121843002/20001
4 years, 5 months ago (2016-07-05 02:57:01 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-05 03:58:28 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 03:58:31 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 04:00:22 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/febbb09d4df69afde4e6294a842a02e90a9cabdf
Cr-Commit-Position: refs/heads/master@{#403737}

Powered by Google App Engine
This is Rietveld 408576698