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

Issue 1310513010: Support DomCode on Android devices. (Closed)

Created:
5 years, 3 months ago by dtapuska
Modified:
5 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, Sergey Ulanov, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master_evdev
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support DomCode on Android devices. Pass the evdev scancode down from java so that it can be properly presented to blink. The evdev code is necessary because the android keycode already has the keyboard mapping applied. If the scancode is 0 we fall back to mapping the DomCode based on the android keycode. BUG=227231 Committed: https://crrev.com/ef120ea40d983e21a1d14cc56324d6ca73be8d0a Cr-Commit-Position: refs/heads/master@{#348721}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove Android keycode->domcode conversion path #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -15 lines) Patch
M content/browser/renderer_host/ime_adapter_android.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 5 chunks +8 lines, -5 lines 1 comment Download
M content/browser/renderer_host/input/web_input_event_builders_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.cc View 1 3 chunks +7 lines, -0 lines 1 comment Download
M content/browser/renderer_host/native_web_keyboard_event_android.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 2 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/native_web_keyboard_event.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
dtapuska
5 years, 3 months ago (2015-09-09 16:16:30 UTC) #2
aelias_OOO_until_Jul13
lgtm
5 years, 3 months ago (2015-09-09 16:55:46 UTC) #3
kpschoedel
lgtm 2.0
5 years, 3 months ago (2015-09-09 18:08:10 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc File content/browser/renderer_host/input/web_input_event_builders_android.cc (right): https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc#newcode40 content/browser/renderer_host/input/web_input_event_builders_android.cc:40: dom_code = ui::DomCodeFromAndroidKeyCode(keycode); I don't think this is the ...
5 years, 3 months ago (2015-09-09 19:55:44 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc File content/browser/renderer_host/input/web_input_event_builders_android.cc (right): https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc#newcode40 content/browser/renderer_host/input/web_input_event_builders_android.cc:40: dom_code = ui::DomCodeFromAndroidKeyCode(keycode); I don't think this is the ...
5 years, 3 months ago (2015-09-09 19:55:44 UTC) #8
dtapuska
https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc File content/browser/renderer_host/input/web_input_event_builders_android.cc (right): https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc#newcode40 content/browser/renderer_host/input/web_input_event_builders_android.cc:40: dom_code = ui::DomCodeFromAndroidKeyCode(keycode); On 2015/09/09 19:55:44, Sergey Ulanov wrote: ...
5 years, 3 months ago (2015-09-09 20:00:13 UTC) #9
dtapuska
On 2015/09/09 20:00:13, dtapuska wrote: > https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc > File content/browser/renderer_host/input/web_input_event_builders_android.cc > (right): > > https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc#newcode40 ...
5 years, 3 months ago (2015-09-09 20:13:23 UTC) #10
Sergey Ulanov
https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc File content/browser/renderer_host/input/web_input_event_builders_android.cc (right): https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc#newcode40 content/browser/renderer_host/input/web_input_event_builders_android.cc:40: dom_code = ui::DomCodeFromAndroidKeyCode(keycode); On 2015/09/09 20:00:13, dtapuska wrote: > ...
5 years, 3 months ago (2015-09-09 20:20:30 UTC) #11
dtapuska
On 2015/09/09 20:20:30, Sergey Ulanov wrote: > https://codereview.chromium.org/1310513010/diff/1/content/browser/renderer_host/input/web_input_event_builders_android.cc > File content/browser/renderer_host/input/web_input_event_builders_android.cc > (right): > > ...
5 years, 3 months ago (2015-09-10 13:21:33 UTC) #12
dtapuska
On 2015/09/10 13:21:33, dtapuska wrote: > On 2015/09/09 20:20:30, Sergey Ulanov wrote: > > > ...
5 years, 3 months ago (2015-09-11 16:04:08 UTC) #13
dtapuska
On 2015/09/11 16:04:08, dtapuska wrote: > On 2015/09/10 13:21:33, dtapuska wrote: > > On 2015/09/09 ...
5 years, 3 months ago (2015-09-11 16:05:39 UTC) #15
piman
lgtm
5 years, 3 months ago (2015-09-14 20:12:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310513010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310513010/20001
5 years, 3 months ago (2015-09-14 20:49:19 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-14 21:00:12 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ef120ea40d983e21a1d14cc56324d6ca73be8d0a Cr-Commit-Position: refs/heads/master@{#348721}
5 years, 3 months ago (2015-09-14 21:01:03 UTC) #21
Wez
Belated drive-by; LGTM w/ nits. https://codereview.chromium.org/1310513010/diff/20001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/1310513010/diff/20001/content/browser/renderer_host/ime_adapter_android.cc#newcode162 content/browser/renderer_host/ime_adapter_android.cc:162: is_system_key); nit: unnecessary line-wrap ...
5 years, 3 months ago (2015-09-14 22:03:51 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:37:17 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ef120ea40d983e21a1d14cc56324d6ca73be8d0a
Cr-Commit-Position: refs/heads/master@{#348721}

Powered by Google App Engine
This is Rietveld 408576698