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

Issue 1124963003: Remove ui::KeycodeConverter::CodeToNativeKeycode(). (Closed)

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

Description

Remove some |char*| functions from KeycodeConverter Convert code to use enum DomCode rather than strings. BUG=444048 R=wez@chromium.org,bbudge@chromium.org,bauerb@chromium.org,jcivelli@chromium.org,sadrul@chromium.org Presubmit has failed to acknowledge the "LGTM" at https://codereview.chromium.org/1124963003/#msg29 so I'm adding this TBR as a workaround: TBR=jcivelli Committed: https://crrev.com/103db4435a5e181c741c0698dbfec37fd0dccd57 Cr-Commit-Position: refs/heads/master@{#330158}

Patch Set 1 #

Total comments: 13

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

Patch Set 3 : Remove content/renderer/pepper/usb_key_code_conversion* #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -203 lines) Patch
M chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc View 1 2 3 2 chunks +20 lines, -16 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 3 chunks +42 lines, -61 lines 0 comments Download
M content/renderer/pepper/event_conversion.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
D content/renderer/pepper/usb_key_code_conversion.h View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D content/renderer/pepper/usb_key_code_conversion.cc View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
M content/renderer/pepper/usb_key_code_conversion_linux.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/usb_key_code_conversion_mac.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/usb_key_code_conversion_win.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/events/event_unittest.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M ui/events/keycodes/dom/keycode_converter.h View 1 2 3 2 chunks +3 lines, -11 lines 0 comments Download
M ui/events/keycodes/dom/keycode_converter.cc View 1 2 3 4 chunks +16 lines, -38 lines 0 comments Download
M ui/events/keycodes/dom/keycode_converter_unittest.cc View 1 2 3 2 chunks +7 lines, -10 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
kpschoedel
5 years, 7 months ago (2015-05-05 19:11:43 UTC) #2
Wez
https://codereview.chromium.org/1124963003/diff/1/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc File chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc (right): https://codereview.chromium.org/1124963003/diff/1/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc#newcode49 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc:49: #include "ui/events/keycodes/dom4/keycode_converter.h" For a follow-up CL: |code| is now ...
5 years, 7 months ago (2015-05-05 20:11:48 UTC) #3
kpschoedel
https://codereview.chromium.org/1124963003/diff/1/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc File chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc (right): https://codereview.chromium.org/1124963003/diff/1/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc#newcode49 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc:49: #include "ui/events/keycodes/dom4/keycode_converter.h" On 2015/05/05 20:11:48, Wez wrote: > For ...
5 years, 7 months ago (2015-05-05 20:48:50 UTC) #4
kpschoedel
https://codereview.chromium.org/1124963003/diff/1/ui/events/keycodes/dom4/keycode_converter.h File ui/events/keycodes/dom4/keycode_converter.h (right): https://codereview.chromium.org/1124963003/diff/1/ui/events/keycodes/dom4/keycode_converter.h#newcode48 ui/events/keycodes/dom4/keycode_converter.h:48: static const char* NativeKeycodeToCode(int native_keycode); On 2015/05/05 20:11:48, Wez ...
5 years, 7 months ago (2015-05-05 23:10:56 UTC) #5
kpschoedel
+bbudge@ for content/renderer/pepper/*
5 years, 7 months ago (2015-05-06 15:09:13 UTC) #7
bbudge
content/renderer/pepper LGTM
5 years, 7 months ago (2015-05-06 15:28:07 UTC) #8
Wez
lgtm https://codereview.chromium.org/1124963003/diff/40001/content/renderer/pepper/usb_key_code_conversion_win.cc File content/renderer/pepper/usb_key_code_conversion_win.cc (left): https://codereview.chromium.org/1124963003/diff/40001/content/renderer/pepper/usb_key_code_conversion_win.cc#oldcode19 content/renderer/pepper/usb_key_code_conversion_win.cc:19: scancode |= 0xe000; nit: Initially I thought we ...
5 years, 7 months ago (2015-05-06 23:37:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124963003/40001
5 years, 7 months ago (2015-05-07 14:41:07 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/22489) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-07 14:44:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124963003/60001
5 years, 7 months ago (2015-05-07 15:06:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/50487) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-07 15:11:08 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124963003/80001
5 years, 7 months ago (2015-05-15 16:09:32 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-15 16:58:44 UTC) #24
kpschoedel
+bauerb@ for chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc +jcivelli@ for content/public/test/browser_test_utils.cc +sadrul@ for ui/events/event_unittest.cc
5 years, 7 months ago (2015-05-15 18:02:13 UTC) #26
sadrul
said file lgtm
5 years, 7 months ago (2015-05-15 18:03:01 UTC) #27
Bernhard Bauer
blocked_content LGTM
5 years, 7 months ago (2015-05-15 18:15:33 UTC) #28
Jay Civelli
LGTM for content/public/test/browser_test_utils.cc On Fri, May 15, 2015 at 11:02 AM, <kpschoedel@chromium.org> wrote: > +bauerb@ ...
5 years, 7 months ago (2015-05-15 18:32:38 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124963003/80001
5 years, 7 months ago (2015-05-15 18:35:06 UTC) #31
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/64079)
5 years, 7 months ago (2015-05-15 18:46:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124963003/80001
5 years, 7 months ago (2015-05-15 19:07:04 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 7 months ago (2015-05-15 19:14:06 UTC) #36
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 19:14:57 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/103db4435a5e181c741c0698dbfec37fd0dccd57
Cr-Commit-Position: refs/heads/master@{#330158}

Powered by Google App Engine
This is Rietveld 408576698