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

Issue 1331013004: [KeyEvent Mac] Move WebInputEventFactory into chromium. (Closed)

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

Description

[KeyEvent Mac] Move WebInputEventFactory into chromium. There was an inconsistency on the Mac platform that the WebInputEventFactory (old WebKit code) was being used. Other platforms have migrated to using builders and it was weird for the Mac code path to have some code on one side of the blink divide that others didn't. This change brings the Mac platform inline with the others by moving the input event factory from blink into chromium. blink change: https://codereview.chromium.org/1335673002/ BUG=493833, 237267 Committed: https://crrev.com/8db5ca887d4560ed15bf5e6e2dce69dc85868f25 Cr-Commit-Position: refs/heads/master@{#348989} Committed: https://crrev.com/5405b8306550f01b86204d45fad3360593b39001 Cr-Commit-Position: refs/heads/master@{#349157}

Patch Set 1 #

Patch Set 2 : Fix component build #

Patch Set 3 : Rebase #

Total comments: 7

Patch Set 4 : Format imported code to chromium style #

Total comments: 8

Patch Set 5 : Move keypad fix out to separate CL #

Total comments: 12

Patch Set 6 : Fix nits #

Patch Set 7 : Fix forward declaration so it is only OBJC #

Total comments: 1

Patch Set 8 : Fix Mac SDK 10.9 build failure #

Patch Set 9 : Remove forward declare as the bot got updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1162 lines, -43 lines) Patch
M content/browser/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_mac.h View 1 2 3 4 5 6 1 chunk +41 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 2 3 4 5 1 chunk +912 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm View 1 2 3 4 1 chunk +163 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/native_web_keyboard_event_mac.mm View 2 chunks +3 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 13 chunks +14 lines, -16 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -15 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/copyright_scanner/third_party_files_whitelist.txt View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/cocoa/events_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion_mac.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 48 (10 generated)
dtapuska
5 years, 3 months ago (2015-09-10 14:48:48 UTC) #2
dtapuska
On 2015/09/10 14:48:48, dtapuska wrote: Corresponding blink change review is found here: https://codereview.chromium.org/1335673002/
5 years, 3 months ago (2015-09-10 15:26:57 UTC) #3
dtapuska
On 2015/09/10 15:26:57, dtapuska wrote: > On 2015/09/10 14:48:48, dtapuska wrote: > > Corresponding blink ...
5 years, 3 months ago (2015-09-11 20:31:03 UTC) #4
Wez
On 2015/09/11 20:31:03, dtapuska wrote: > On 2015/09/10 15:26:57, dtapuska wrote: > > On 2015/09/10 ...
5 years, 3 months ago (2015-09-11 20:34:13 UTC) #5
Alexei Svitkine (slow)
The files being moved don't seem to follow Chromium coding convention. Given they're moving to ...
5 years, 3 months ago (2015-09-11 20:39:31 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/1331013004/diff/40001/content/browser/renderer_host/input/web_input_event_builders_mac.mm File content/browser/renderer_host/input/web_input_event_builders_mac.mm (right): https://codereview.chromium.org/1331013004/diff/40001/content/browser/renderer_host/input/web_input_event_builders_mac.mm#newcode33 content/browser/renderer_host/input/web_input_event_builders_mac.mm:33: #include <ApplicationServices/ApplicationServices.h> Should be an #import. https://codereview.chromium.org/1331013004/diff/40001/content/browser/renderer_host/input/web_input_event_builders_mac.mm#newcode43 content/browser/renderer_host/input/web_input_event_builders_mac.mm:43: #if ...
5 years, 3 months ago (2015-09-11 20:42:11 UTC) #7
dtapuska
On 2015/09/11 20:39:31, Alexei Svitkine wrote: > The files being moved don't seem to follow ...
5 years, 3 months ago (2015-09-14 13:29:05 UTC) #8
dtapuska
https://codereview.chromium.org/1331013004/diff/40001/content/browser/renderer_host/input/web_input_event_builders_mac.mm File content/browser/renderer_host/input/web_input_event_builders_mac.mm (right): https://codereview.chromium.org/1331013004/diff/40001/content/browser/renderer_host/input/web_input_event_builders_mac.mm#newcode33 content/browser/renderer_host/input/web_input_event_builders_mac.mm:33: #include <ApplicationServices/ApplicationServices.h> On 2015/09/11 20:42:10, Alexei Svitkine wrote: > ...
5 years, 3 months ago (2015-09-14 14:50:30 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1331013004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm File content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm (right): https://codereview.chromium.org/1331013004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm#newcode1 content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm:1: // Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 3 months ago (2015-09-14 17:14:43 UTC) #10
dtapuska
https://codereview.chromium.org/1331013004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm File content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm (right): https://codereview.chromium.org/1331013004/diff/60001/content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm#newcode1 content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm:1: // Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 3 months ago (2015-09-14 18:31:21 UTC) #11
Alexei Svitkine (slow)
LGTM % remaining comments https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h File content/browser/renderer_host/input/web_input_event_builders_mac.h (right): https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h#newcode14 content/browser/renderer_host/input/web_input_event_builders_mac.h:14: #else Hmm, this file isn't ...
5 years, 3 months ago (2015-09-14 18:54:03 UTC) #12
dtapuska
https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h File content/browser/renderer_host/input/web_input_event_builders_mac.h (right): https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h#newcode14 content/browser/renderer_host/input/web_input_event_builders_mac.h:14: #else On 2015/09/14 18:54:03, Alexei Svitkine wrote: > Hmm, ...
5 years, 3 months ago (2015-09-14 19:26:46 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h File content/browser/renderer_host/input/web_input_event_builders_mac.h (right): https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h#newcode14 content/browser/renderer_host/input/web_input_event_builders_mac.h:14: #else On 2015/09/14 19:26:46, dtapuska wrote: > On 2015/09/14 ...
5 years, 3 months ago (2015-09-14 19:32:56 UTC) #14
dtapuska
On 2015/09/14 19:32:56, Alexei Svitkine wrote: > https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h > File content/browser/renderer_host/input/web_input_event_builders_mac.h (right): > > https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h#newcode14 ...
5 years, 3 months ago (2015-09-14 19:39:29 UTC) #15
dtapuska
https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h File content/browser/renderer_host/input/web_input_event_builders_mac.h (right): https://codereview.chromium.org/1331013004/diff/80001/content/browser/renderer_host/input/web_input_event_builders_mac.h#newcode14 content/browser/renderer_host/input/web_input_event_builders_mac.h:14: #else On 2015/09/14 19:32:56, Alexei Svitkine wrote: > On ...
5 years, 3 months ago (2015-09-14 19:40:07 UTC) #16
mnaganov (inactive)
tools/copyright_scanner/third_party_files_whitelist.txt LGTM
5 years, 3 months ago (2015-09-15 17:29:01 UTC) #18
sadrul
lgtm
5 years, 3 months ago (2015-09-15 18:18:52 UTC) #19
Alexei Svitkine (slow)
lgtm
5 years, 3 months ago (2015-09-15 18:39:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331013004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331013004/120001
5 years, 3 months ago (2015-09-15 19:20:38 UTC) #22
dtapuska
On 2015/09/15 19:20:38, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
5 years, 3 months ago (2015-09-15 19:34:32 UTC) #24
piman
lgtm
5 years, 3 months ago (2015-09-15 20:05:01 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 3 months ago (2015-09-15 20:56:16 UTC) #26
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/8db5ca887d4560ed15bf5e6e2dce69dc85868f25 Cr-Commit-Position: refs/heads/master@{#348989}
5 years, 3 months ago (2015-09-15 20:57:29 UTC) #27
Wez
Much belated LGTM. This is great - thanks for cleaning up! https://codereview.chromium.org/1331013004/diff/40001/content/browser/DEPS File content/browser/DEPS (left): ...
5 years, 3 months ago (2015-09-15 23:25:35 UTC) #28
kochi
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1345043003/ by kochi@chromium.org. ...
5 years, 3 months ago (2015-09-16 01:18:10 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331013004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331013004/160001
5 years, 3 months ago (2015-09-16 16:43:27 UTC) #33
dtapuska
On 2015/09/16 01:18:10, Takayoshi Kochi wrote: > A revert of this CL (patchset #7 id:120001) ...
5 years, 3 months ago (2015-09-16 16:44:55 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-16 17:53:40 UTC) #35
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/5405b8306550f01b86204d45fad3360593b39001 Cr-Commit-Position: refs/heads/master@{#349157}
5 years, 3 months ago (2015-09-16 17:54:26 UTC) #36
skobes
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1348843002/ by skobes@chromium.org. ...
5 years, 3 months ago (2015-09-16 18:41:16 UTC) #37
dtapuska
On 2015/09/16 18:41:16, skobes wrote: > A revert of this CL (patchset #9 id:160001) has ...
5 years, 3 months ago (2015-09-16 21:00:29 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331013004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331013004/160001
5 years, 3 months ago (2015-09-16 21:01:12 UTC) #40
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/100612)
5 years, 3 months ago (2015-09-16 21:09:33 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331013004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331013004/160001
5 years, 3 months ago (2015-09-17 12:11:55 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-17 12:17:13 UTC) #45
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/edc082cebb6e99f83859d9587ddf2971fe91b43c Cr-Commit-Position: refs/heads/master@{#349404}
5 years, 3 months ago (2015-09-17 12:17:58 UTC) #46
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/8db5ca887d4560ed15bf5e6e2dce69dc85868f25 Cr-Commit-Position: refs/heads/master@{#348989}
5 years, 3 months ago (2015-09-23 12:49:26 UTC) #47
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:57:41 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5405b8306550f01b86204d45fad3360593b39001
Cr-Commit-Position: refs/heads/master@{#349157}

Powered by Google App Engine
This is Rietveld 408576698