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

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed)

Created:
4 years, 4 months ago by jonross
Modified:
4 years, 4 months ago
CC:
bruening+watch_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, glider+watch_chromium.org, jam, jbauman+watch_chromium.org, kalyank, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, tdresser+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor WebInputEventAura to ui/events/blink Refactor the current ui::Event to blink::WebInputEvent converters from content/browser/renderer_host/ to ui/events/blink. This is so we can merge mojo/converters/blink with this code, to have one unified location for all of the conversions. TEST=content_unittests, events_unittests, manual testing BUG=616673 Committed: https://crrev.com/2addcb7b7dafe269307a85a7f99b4da6cd2907fe Cr-Commit-Position: refs/heads/master@{#412942}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : fix build #

Patch Set 4 : Rebase #

Patch Set 5 : update compile #

Patch Set 6 : add deps #

Patch Set 7 : more deps #

Patch Set 8 : remove aura naming #

Total comments: 2

Patch Set 9 : Upade WebInputEvent include path #

Patch Set 10 : fix mac compile #

Patch Set 11 : missing deps #

Patch Set 12 : Rebase #

Total comments: 18

Patch Set 13 : Rebase #

Patch Set 14 : Address Review Comments #

Patch Set 15 : Rebase #

Patch Set 16 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+980 lines, -1966 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -3 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/motion_event_web.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
D content/browser/renderer_host/input/web_input_event_builders_win.h View 1 chunk +0 lines, -48 lines 0 comments Download
D content/browser/renderer_host/input/web_input_event_builders_win.cc View 1 chunk +0 lines, -376 lines 0 comments Download
D content/browser/renderer_host/input/web_input_event_unittest.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D content/browser/renderer_host/input/web_input_event_util.h View 1 chunk +0 lines, -30 lines 0 comments Download
D content/browser/renderer_host/input/web_input_event_util.cc View 1 chunk +0 lines, -71 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/native_web_keyboard_event_aura.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +29 lines, -12 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/ui_events_helper.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D content/browser/renderer_host/web_input_event_aura.h View 1 chunk +0 lines, -41 lines 0 comments Download
D content/browser/renderer_host/web_input_event_aura.cc View 1 chunk +0 lines, -457 lines 0 comments Download
D content/browser/renderer_host/web_input_event_aura_unittest.cc View 1 chunk +0 lines, -526 lines 0 comments Download
D content/browser/renderer_host/web_input_event_aurawin.cc View 1 chunk +0 lines, -54 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -7 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M tools/valgrind/gtest_exclude/content_unittests.gtest.txt View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +6 lines, -0 lines 0 comments Download
M ui/events/blink/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +13 lines, -0 lines 0 comments Download
M ui/events/blink/DEPS View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M ui/events/blink/blink_event_util.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -1 line 0 comments Download
M ui/events/blink/blink_event_util.cc View 1 2 3 4 5 6 7 8 2 chunks +45 lines, -1 line 0 comments Download
M ui/events/blink/blink_event_util_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_handler_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_handler_proxy_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_scroll_elasticity_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_scroll_elasticity_controller_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/scoped_web_input_event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
A ui/events/blink/web_input_event.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +59 lines, -0 lines 0 comments Download
A + ui/events/blink/web_input_event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 17 chunks +163 lines, -132 lines 0 comments Download
A + ui/events/blink/web_input_event_builders_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -11 lines 0 comments Download
A + ui/events/blink/web_input_event_builders_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +85 lines, -85 lines 0 comments Download
A + ui/events/blink/web_input_event_builders_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -12 lines 0 comments Download
M ui/events/blink/web_input_event_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/web_input_event_traits_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
A ui/events/blink/web_input_event_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +530 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (37 generated)
jonross
Hey Sadrul, Could you take a look at this first stage of refactoring all ui::Events ...
4 years, 4 months ago (2016-08-11 18:52:32 UTC) #3
dtapuska
https://codereview.chromium.org/2234023002/diff/140001/ui/events/blink/web_input_event_builders_win.h File ui/events/blink/web_input_event_builders_win.h (left): https://codereview.chromium.org/2234023002/diff/140001/ui/events/blink/web_input_event_builders_win.h#oldcode11 ui/events/blink/web_input_event_builders_win.h:11: #include "third_party/WebKit/public/web/WebInputEvent.h" Please update the import paths from web ...
4 years, 4 months ago (2016-08-11 18:57:23 UTC) #5
jonross
https://codereview.chromium.org/2234023002/diff/140001/ui/events/blink/web_input_event_builders_win.h File ui/events/blink/web_input_event_builders_win.h (left): https://codereview.chromium.org/2234023002/diff/140001/ui/events/blink/web_input_event_builders_win.h#oldcode11 ui/events/blink/web_input_event_builders_win.h:11: #include "third_party/WebKit/public/web/WebInputEvent.h" On 2016/08/11 18:57:23, dtapuska wrote: > Please ...
4 years, 4 months ago (2016-08-11 20:20:33 UTC) #6
sadrul
Mostly nits, but lgtm (please get a review from dtapuska@/tdresser@ too) https://codereview.chromium.org/2234023002/diff/220001/ui/events/blink/web_input_event.cc File ui/events/blink/web_input_event.cc (right): ...
4 years, 4 months ago (2016-08-15 15:55:13 UTC) #21
tdresser
"Refacotr WebInputEventAura to ui/events/blink" Refactor "Refactor the current ui::Event to blink::WebInputEvent" Word missing perhaps?
4 years, 4 months ago (2016-08-15 19:29:50 UTC) #25
dtapuska
On 2016/08/15 15:55:13, sadrul wrote: > Mostly nits, but lgtm (please get a review from ...
4 years, 4 months ago (2016-08-15 19:31:34 UTC) #26
jonross
On 2016/08/15 19:31:34, dtapuska wrote: > On 2016/08/15 15:55:13, sadrul wrote: > > Mostly nits, ...
4 years, 4 months ago (2016-08-16 13:50:16 UTC) #27
sadrul
> > this seems fine to me; but I'm wondering why the mac events didn't ...
4 years, 4 months ago (2016-08-16 14:36:21 UTC) #28
jonross
https://codereview.chromium.org/2234023002/diff/220001/ui/events/blink/web_input_event.cc File ui/events/blink/web_input_event.cc (right): https://codereview.chromium.org/2234023002/diff/220001/ui/events/blink/web_input_event.cc#newcode28 ui/events/blink/web_input_event.cc:28: return event.target() ? screen_location_callback.Run(event) On 2016/08/15 15:55:12, sadrul wrote: ...
4 years, 4 months ago (2016-08-16 15:25:16 UTC) #30
jonross
On 2016/08/15 19:29:50, tdresser wrote: > "Refacotr WebInputEventAura to ui/events/blink" > Refactor > > "Refactor ...
4 years, 4 months ago (2016-08-16 17:41:10 UTC) #31
jonross
On 2016/08/16 17:41:10, jonross wrote: > On 2016/08/15 19:29:50, tdresser wrote: > > "Refacotr WebInputEventAura ...
4 years, 4 months ago (2016-08-16 22:18:06 UTC) #32
dtapuska
On 2016/08/16 22:18:06, jonross wrote: > On 2016/08/16 17:41:10, jonross wrote: > > On 2016/08/15 ...
4 years, 4 months ago (2016-08-17 00:29:49 UTC) #33
tdresser
On 2016/08/17 00:29:49, dtapuska wrote: > On 2016/08/16 22:18:06, jonross wrote: > > On 2016/08/16 ...
4 years, 4 months ago (2016-08-17 11:56:24 UTC) #34
jonross
avi@ would you be able to provide an owner's review of: content/browser/BUILD.gn content/browser/android/content_view_core_impl.cc content/test/BUILD.gn This ...
4 years, 4 months ago (2016-08-17 13:27:52 UTC) #35
jonross
avi@ would you be able to provide an owner's review of: content/browser/BUILD.gn content/browser/android/content_view_core_impl.cc content/test/BUILD.gn This ...
4 years, 4 months ago (2016-08-17 13:28:46 UTC) #37
Avi (use Gerrit)
On 2016/08/17 13:28:46, jonross wrote: > avi@ would you be able to provide an owner's ...
4 years, 4 months ago (2016-08-17 14:43:21 UTC) #38
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/2234023002/260001
4 years, 4 months ago (2016-08-17 14:45:21 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/252751)
4 years, 4 months ago (2016-08-17 14:47:44 UTC) #43
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/2234023002/280001
4 years, 4 months ago (2016-08-17 15:55:17 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/239914)
4 years, 4 months ago (2016-08-17 16:02:40 UTC) #48
jonross
On 2016/08/17 16:02:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-17 17:03:28 UTC) #50
dglazkov
lgtm
4 years, 4 months ago (2016-08-18 17:31:48 UTC) #51
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/2234023002/280001
4 years, 4 months ago (2016-08-18 17:34:54 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/253688) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-18 17:38:03 UTC) #55
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/2234023002/300001
4 years, 4 months ago (2016-08-18 18:25:56 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/264194)
4 years, 4 months ago (2016-08-18 19:51:52 UTC) #60
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/2234023002/300001
4 years, 4 months ago (2016-08-18 20:17:24 UTC) #62
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 4 months ago (2016-08-18 21:49:20 UTC) #64
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 21:54:08 UTC) #66
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/2addcb7b7dafe269307a85a7f99b4da6cd2907fe
Cr-Commit-Position: refs/heads/master@{#412942}

Powered by Google App Engine
This is Rietveld 408576698