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

Issue 1313353010: Overhaul Mandoline event transport code (Closed)

Created:
5 years, 3 months ago by rjkroege
Modified:
5 years, 3 months ago
Reviewers:
sadrul, jam, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Overhaul Mandoline event transport code In the course of its development, Mandoline's event code has diverged away from event payloads that are a good fit with the current state of blink's input handling logic. This CL begins a process of updating the event code with an extended wheel interface capable of supporting the standards track wheel event and revised pointer events that will be extended in a future CL with support for the pointer events specification. BUG=524828 Committed: https://crrev.com/895c6c35457b7fe13da31e862cd50eb537d5e7e6 Cr-Commit-Position: refs/heads/master@{#349015}

Patch Set 1 #

Total comments: 33

Patch Set 2 : review comments #

Total comments: 2

Patch Set 3 : review comments2 #

Total comments: 10

Patch Set 4 : review comments #

Patch Set 5 : rebased #

Patch Set 6 : fixed gn check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -147 lines) Patch
M components/html_viewer/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M components/html_viewer/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/blink_input_events_type_converters.cc View 1 2 3 3 chunks +51 lines, -29 lines 0 comments Download
M components/html_viewer/html_frame.cc View 1 2 3 4 5 1 chunk +6 lines, -4 lines 0 comments Download
A components/html_viewer/input_events_unittest.cc View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M components/html_viewer/touch_handler.cc View 1 2 3 1 chunk +24 lines, -8 lines 0 comments Download
M components/mus/display_manager.cc View 1 2 3 4 5 2 chunks +0 lines, -19 lines 0 comments Download
M components/mus/event_dispatcher.cc View 1 2 3 4 5 2 chunks +7 lines, -6 lines 0 comments Download
M components/mus/gesture_manager.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M components/mus/gesture_manager_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/view_tree_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M components/pdf_viewer/pdf_viewer.cc View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M mojo/converters/input_events/input_events_type_converters.cc View 1 2 3 4 5 6 chunks +104 lines, -56 lines 0 comments Download
M ui/mojo/events/input_event_constants.mojom View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M ui/mojo/events/input_events.mojom View 1 2 3 2 chunks +49 lines, -10 lines 0 comments Download

Messages

Total messages: 37 (12 generated)
rjkroege
PTAL.
5 years, 3 months ago (2015-09-08 20:28:33 UTC) #2
sadrul
+sky@ https://codereview.chromium.org/1313353010/diff/1/components/html_viewer/blink_input_events_type_converters.cc File components/html_viewer/blink_input_events_type_converters.cc (right): https://codereview.chromium.org/1313353010/diff/1/components/html_viewer/blink_input_events_type_converters.cc#newcode152 components/html_viewer/blink_input_events_type_converters.cc:152: // TODO(rjkroege): Add wheel event support when blink ...
5 years, 3 months ago (2015-09-09 04:19:05 UTC) #4
rjkroege
PTAL. https://codereview.chromium.org/1313353010/diff/1/components/html_viewer/blink_input_events_type_converters.cc File components/html_viewer/blink_input_events_type_converters.cc (right): https://codereview.chromium.org/1313353010/diff/1/components/html_viewer/blink_input_events_type_converters.cc#newcode152 components/html_viewer/blink_input_events_type_converters.cc:152: // TODO(rjkroege): Add wheel event support when blink ...
5 years, 3 months ago (2015-09-09 19:45:38 UTC) #5
sadrul
https://codereview.chromium.org/1313353010/diff/1/mojo/converters/input_events/tests/input_events_unittest.cc File mojo/converters/input_events/tests/input_events_unittest.cc (right): https://codereview.chromium.org/1313353010/diff/1/mojo/converters/input_events/tests/input_events_unittest.cc#newcode27 mojo/converters/input_events/tests/input_events_unittest.cc:27: mojo::EventPtr mojo_event(mojo::Event::From(*(ui::Event::Clone(mouseev)))); On 2015/09/09 19:45:38, rjkroege wrote: > On ...
5 years, 3 months ago (2015-09-10 17:39:15 UTC) #6
rjkroege
PTAL https://codereview.chromium.org/1313353010/diff/1/components/pdf_viewer/pdf_viewer.cc File components/pdf_viewer/pdf_viewer.cc (right): https://codereview.chromium.org/1313353010/diff/1/components/pdf_viewer/pdf_viewer.cc#newcode380 components/pdf_viewer/pdf_viewer.cc:380: event->pointer_data->kind == mojo::POINTER_KIND_WHEEL && On 2015/09/09 04:19:04, sadrul ...
5 years, 3 months ago (2015-09-12 01:29:02 UTC) #7
sadrul
lgtm
5 years, 3 months ago (2015-09-14 18:15:48 UTC) #8
rjkroege
On 2015/09/14 18:15:48, sadrul wrote: > lgtm sky@: please take a look?
5 years, 3 months ago (2015-09-14 18:30:06 UTC) #9
sky
https://codereview.chromium.org/1313353010/diff/40001/mojo/converters/input_events/tests/DEPS File mojo/converters/input_events/tests/DEPS (right): https://codereview.chromium.org/1313353010/diff/40001/mojo/converters/input_events/tests/DEPS#newcode2 mojo/converters/input_events/tests/DEPS:2: "+components/html_viewer", mojo should not depend upon components/html_viewer. Maybe move ...
5 years, 3 months ago (2015-09-14 19:27:26 UTC) #10
rjkroege
PTAL https://codereview.chromium.org/1313353010/diff/40001/mojo/converters/input_events/tests/DEPS File mojo/converters/input_events/tests/DEPS (right): https://codereview.chromium.org/1313353010/diff/40001/mojo/converters/input_events/tests/DEPS#newcode2 mojo/converters/input_events/tests/DEPS:2: "+components/html_viewer", On 2015/09/14 19:27:25, sky wrote: > mojo ...
5 years, 3 months ago (2015-09-14 21:07:38 UTC) #11
sky
LGTM
5 years, 3 months ago (2015-09-14 21:36:28 UTC) #12
rjkroege
+jam OWNERS for pdf viewer and whatever made sky's LGTM not count for view_manager
5 years, 3 months ago (2015-09-15 00:12:31 UTC) #14
jam
On 2015/09/15 00:12:31, rjkroege wrote: > +jam OWNERS for pdf viewer and whatever made sky's ...
5 years, 3 months ago (2015-09-15 16:27:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313353010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313353010/60001
5 years, 3 months ago (2015-09-15 17:53:11 UTC) #18
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/69459) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-15 17:57:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313353010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313353010/60001
5 years, 3 months ago (2015-09-15 21:05:14 UTC) #22
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/69590) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-15 21:07:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313353010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313353010/80001
5 years, 3 months ago (2015-09-15 21:32:16 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-15 22:10:13 UTC) #28
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/895c6c35457b7fe13da31e862cd50eb537d5e7e6 Cr-Commit-Position: refs/heads/master@{#349015}
5 years, 3 months ago (2015-09-15 22:10:55 UTC) #29
Devlin
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1344223002/ by rdevlin.cronin@chromium.org. ...
5 years, 3 months ago (2015-09-15 23:16:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313353010/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313353010/100001
5 years, 3 months ago (2015-09-17 00:08:56 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-17 01:08:15 UTC) #34
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/9c57b5f85a889b3511ad56003aa634f80c0e9f9a Cr-Commit-Position: refs/heads/master@{#349303}
5 years, 3 months ago (2015-09-17 01:08:52 UTC) #35
msw
It looks like this CL broke html_viewer_unittests (InputEventLibTest.MouseWheelEventConversionNonPrecise in particular) on our Chromium Mojo Windows ...
5 years, 3 months ago (2015-09-18 18:44:53 UTC) #36
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:50:33 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/895c6c35457b7fe13da31e862cd50eb537d5e7e6
Cr-Commit-Position: refs/heads/master@{#349015}

Powered by Google App Engine
This is Rietveld 408576698