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

Issue 2481033007: [Android DomKey] Fix 7 Android DomKey mapping to match FF (Closed)

Created:
4 years, 1 month ago by chongz
Modified:
4 years, 1 month ago
Reviewers:
dtapuska, garykac
CC:
chromium-reviews, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android DomKey] Fix 7 key mappings to match FF This CL maps the following keys: AKEYCODE_SWITCH_CHARSET (95) => "ModeChange" AKEYCODE_FORWARD (125) => "BrowserForward" AKEYCODE_NUMPAD_ENTER (160) => "Enter" AKEYCODE_BOOKMARK (174) => "BrowserFavorites" AKEYCODE_LANGUAGE_SWITCH (204) => "GroupNext" AKEYCODE_MUHENKAN (213) => "NonConvert" AKEYCODE_HENKAN (214) => "Convert" See bug for more detailed explanations. TEST=Manual 1. On Android go to https://cdn.rawgit.com/w3c/uievents/gh-pages/tools/key-event-viewer.html 2. Focus input field 3. Run command "adb shell input keyevent 95", etc 4. Verify produced "key" Alternatively we can add tests in "web_input_event_builders_android_unittest.cc", but I'm not sure how useful it would be since it's just a static map. BUG=662372 Committed: https://crrev.com/c7c76532cc8698c31c622c3340fd0b33ec0d36e3 Cr-Commit-Position: refs/heads/master@{#431337}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M ui/events/keycodes/keyboard_code_conversion_android.cc View 10 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
chongz
dtapuska@ PTAL, thanks!
4 years, 1 month ago (2016-11-09 16:35:59 UTC) #7
dtapuska
lgtm
4 years, 1 month ago (2016-11-09 16:46:45 UTC) #8
chongz
wez@ PTAL, thanks!
4 years, 1 month ago (2016-11-09 17:03:56 UTC) #12
Wez
wez -> garykac since this primarily needs review wrt the spec.
4 years, 1 month ago (2016-11-09 23:11:31 UTC) #14
garykac
On 2016/11/09 23:11:31, Wez wrote: > wez -> garykac since this primarily needs review wrt ...
4 years, 1 month ago (2016-11-10 19:43:32 UTC) #15
garykac
lgtm
4 years, 1 month ago (2016-11-10 19:43:44 UTC) #16
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/2481033007/1
4 years, 1 month ago (2016-11-10 19:46:35 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-10 20:23:09 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 20:35:55 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c7c76532cc8698c31c622c3340fd0b33ec0d36e3
Cr-Commit-Position: refs/heads/master@{#431337}

Powered by Google App Engine
This is Rietveld 408576698