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

Issue 1776473005: Mozart: Implement basic input event dispatch with hit testing. (Closed)

Created:
4 years, 9 months ago by jeffbrown
Modified:
4 years, 9 months ago
Reviewers:
abarth
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@moz-7
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Mozart: Implement basic input event dispatch with hit testing. Whenever a POINTER_DOWN occurs, finds the first view which was hit and directs all subsequent events over there. This policy is obviously broken in many ways but will suffice for scaffolding of other elements. We will overhaul the input event protocol entirely in future patches. Updated the examples to include a minimal hit test behavior specification so they can continue to receive input events in the ways they previously did. BUG= R=abarth@google.com Committed: https://chromium.googlesource.com/external/mojo/+/ca132f35854a195bcab106f8fd6ba70a36ad68b5

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -88 lines) Patch
M apps/moterm/moterm_view.cc View 1 chunk +1 line, -0 lines 0 comments Download
M examples/ui/pdf_viewer/pdf_viewer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M examples/ui/spinning_cube/spinning_cube_view.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/geometry/cpp/geometry_util.h View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/geometry/cpp/geometry_util.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M services/ui/input_manager/BUILD.gn View 1 2 chunks +6 lines, -0 lines 0 comments Download
M services/ui/input_manager/input_associate.h View 2 chunks +28 lines, -47 lines 0 comments Download
M services/ui/input_manager/input_associate.cc View 4 chunks +74 lines, -41 lines 0 comments Download
A services/ui/input_manager/input_connection_impl.h View 1 chunk +51 lines, -0 lines 0 comments Download
A services/ui/input_manager/input_connection_impl.cc View 1 chunk +50 lines, -0 lines 0 comments Download
A services/ui/input_manager/input_dispatcher_impl.h View 1 1 chunk +65 lines, -0 lines 0 comments Download
A services/ui/input_manager/input_dispatcher_impl.cc View 1 1 chunk +129 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 6 (2 generated)
jeffbrown
4 years, 9 months ago (2016-03-09 02:23:39 UTC) #2
abarth
lgtm https://codereview.chromium.org/1776473005/diff/1/mojo/services/geometry/cpp/geometry_util.cc File mojo/services/geometry/cpp/geometry_util.cc (right): https://codereview.chromium.org/1776473005/diff/1/mojo/services/geometry/cpp/geometry_util.cc#newcode35 mojo/services/geometry/cpp/geometry_util.cc:35: float z = transform.matrix[12] * point.x + transform.matrix[13] ...
4 years, 9 months ago (2016-03-09 04:17:37 UTC) #3
jeffbrown
https://codereview.chromium.org/1776473005/diff/1/mojo/services/geometry/cpp/geometry_util.cc File mojo/services/geometry/cpp/geometry_util.cc (right): https://codereview.chromium.org/1776473005/diff/1/mojo/services/geometry/cpp/geometry_util.cc#newcode38 mojo/services/geometry/cpp/geometry_util.cc:38: z = 1.f / z; On 2016/03/09 04:17:37, abarth ...
4 years, 9 months ago (2016-03-09 19:38:50 UTC) #4
jeffbrown
4 years, 9 months ago (2016-03-09 22:23:43 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
ca132f35854a195bcab106f8fd6ba70a36ad68b5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698