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

Issue 658183002: Add support for DOM3 KeyboardEvent keycode (Closed)

Created:
6 years, 2 months ago by Habib Virji
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, kpschoedel, mkwst+moarreviews-shell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Embedder API for accessing DOM3 code value based on dom code value Sets the domCode value to the WebKeyboard event. Blink then using embedder API call to converts a dom code to a DOM code value. DOM3 code value are defined in keyboard_converer_data.h, where it maps the native value to the DOM code value. On blink side, it sends dom key value to fetch DOM3 code value. Includes changes to the eventsender as previously it used windowsVirtualKeyCode. This has been replaced by code string, which is used to find equivalent domCode value. BUG=227231 R=garykac, Wez Committed: https://crrev.com/565c80c51413690b152b540f3b8dca9cb0abfdb5 Cr-Commit-Position: refs/heads/master@{#315013}

Patch Set 1 #

Patch Set 2 : Embedder API to allow access to DOM3 code value based on native key value #

Total comments: 6

Patch Set 3 : Updated as per code review comments #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : Using domCode to find codeString and update to the tests #

Patch Set 6 : Renamed the function name and added new embedded API to convert code string to dom enum value #

Patch Set 7 : "Updated to return WebString and int instead of long" #

Total comments: 5

Patch Set 8 : Updated with correct cast for event_sender #

Patch Set 9 : "Moved embedder API from render_view_impl to blink_platform_impl" #

Patch Set 10 : #

Patch Set 11 : Updated to latest master #

Patch Set 12 : Updated to latest master. #

Patch Set 13 : Change toupper to base:ToUpperASCII #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M content/browser/renderer_host/web_input_event_aura.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +11 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/event_sender.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (17 generated)
Habib Virji
To support blink changes https://codereview.chromium.org/663523002/
6 years, 2 months ago (2014-10-16 15:30:20 UTC) #1
Habib Virji
@garykac: Is change in the above mechanism of using usb code okay??
6 years, 2 months ago (2014-10-22 15:27:14 UTC) #3
Habib Virji
On 2014/10/22 15:27:14, Habib Virji wrote: > @garykac: Is change in the above mechanism of ...
6 years, 2 months ago (2014-10-24 17:01:39 UTC) #4
Habib Virji
This CL has been updated based on comments from Wez and is required now.
6 years, 1 month ago (2014-10-27 16:48:15 UTC) #7
apavlov
Any updates on this?
6 years, 1 month ago (2014-11-12 08:53:24 UTC) #9
apavlov
https://codereview.chromium.org/658183002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/658183002/diff/20001/content/renderer/render_view_impl.cc#newcode1789 content/renderer/render_view_impl.cc:1789: int native) { This seems to fit 80 chars ...
6 years, 1 month ago (2014-11-12 08:56:32 UTC) #10
Habib Virji
@apavlov: Will update your changes. Kevin was doing some changes on the
6 years, 1 month ago (2014-11-13 15:03:50 UTC) #11
Habib Virji
On 2014/11/13 15:03:50, Habib Virji wrote: > @apavlov: Will update your changes. Kevin was doing ...
6 years, 1 month ago (2014-11-13 15:04:24 UTC) #12
apavlov
On 2014/11/13 15:04:24, Habib Virji wrote: > On 2014/11/13 15:03:50, Habib Virji wrote: > > ...
6 years, 1 month ago (2014-11-13 15:30:57 UTC) #13
Habib Virji
Thanks apavlov, have addressed your comments. Blink side is updated too. Hoping for Wez or ...
6 years ago (2014-11-24 15:13:10 UTC) #14
apavlov
A small nit: the first two issue Description lines essentially say the same thing. Please ...
6 years ago (2014-12-01 12:50:50 UTC) #15
Habib Virji
On 2014/12/01 at 12:50:50, apavlov wrote: > A small nit: the first two issue Description ...
6 years ago (2014-12-01 13:17:38 UTC) #17
Wez
On 2014/12/01 13:17:38, Habib Virji wrote: > On 2014/12/01 at 12:50:50, apavlov wrote: > > ...
6 years ago (2014-12-02 03:59:44 UTC) #18
Wez
https://codereview.chromium.org/658183002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/658183002/diff/40001/content/renderer/render_view_impl.cc#newcode1825 content/renderer/render_view_impl.cc:1825: return ui::KeycodeConverter::NativeKeycodeToCode(native); Two-space indent for the body of the ...
6 years ago (2014-12-02 04:03:14 UTC) #19
Wez
Adding Kevin, FHI
6 years ago (2014-12-02 04:04:11 UTC) #20
Habib Virji
https://codereview.chromium.org/658183002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/658183002/diff/40001/content/renderer/render_view_impl.cc#newcode1825 content/renderer/render_view_impl.cc:1825: return ui::KeycodeConverter::NativeKeycodeToCode(native); On 2014/12/02 04:03:14, Wez wrote: > Two-space ...
6 years ago (2014-12-02 12:07:46 UTC) #22
Habib Virji
@jeremy: Can you please review changes for content/renderer/render_view_impl.h/cc. These changes are for corresponding Blink changes: ...
5 years, 11 months ago (2015-01-26 11:57:59 UTC) #27
Habib Virji
@piman/jamesr: Can you please review changes for content/renderer/render_view_impl.h/cc. These changes are for corresponding Blink changes: ...
5 years, 11 months ago (2015-01-26 12:48:46 UTC) #30
jamesr
I'm not an owner for this code (any more)
5 years, 11 months ago (2015-01-26 20:35:48 UTC) #32
piman
https://codereview.chromium.org/658183002/diff/120001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/658183002/diff/120001/content/renderer/render_view_impl.h#newcode365 content/renderer/render_view_impl.h:365: virtual int domEnumFromCodeString(const blink::WebString& codeString); Why do these need ...
5 years, 11 months ago (2015-01-28 01:18:04 UTC) #34
Habib Virji
Thanks piman, updated event_sender with correct cast. Regarding using static instead of virtual, perhaps it ...
5 years, 10 months ago (2015-01-28 10:02:11 UTC) #35
piman
On Wed, Jan 28, 2015 at 2:02 AM, <habib.virji@samsung.com> wrote: > Thanks piman, updated event_sender ...
5 years, 10 months ago (2015-01-28 18:17:14 UTC) #36
Wez
https://codereview.chromium.org/658183002/diff/120001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/658183002/diff/120001/content/renderer/render_view_impl.h#newcode365 content/renderer/render_view_impl.h:365: virtual int domEnumFromCodeString(const blink::WebString& codeString); On 2015/01/28 10:02:11, Habib ...
5 years, 10 months ago (2015-01-29 00:51:02 UTC) #37
piman
On Wed, Jan 28, 2015 at 4:51 PM, <wez@chromium.org> wrote: > > https://codereview.chromium.org/658183002/diff/120001/ > content/renderer/render_view_impl.h ...
5 years, 10 months ago (2015-01-29 00:56:41 UTC) #38
Habib Virji
Thanks Antoine, code has been updated to use blink_platform_impl and does not use render_view_impl.
5 years, 10 months ago (2015-01-29 11:16:48 UTC) #39
piman
lgtm
5 years, 10 months ago (2015-01-29 19:25:50 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/658183002/220001
5 years, 10 months ago (2015-02-06 09:15:34 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/52880)
5 years, 10 months ago (2015-02-06 09:30:50 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/658183002/240001
5 years, 10 months ago (2015-02-06 11:22:09 UTC) #46
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 10 months ago (2015-02-06 12:27:15 UTC) #47
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 12:29:21 UTC) #48
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/565c80c51413690b152b540f3b8dca9cb0abfdb5
Cr-Commit-Position: refs/heads/master@{#315013}

Powered by Google App Engine
This is Rietveld 408576698