|
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
Total comments: 9
|
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:
Total messages: 6 (2 generated)
|