Currently, HitTestRegion optionally takes in a LocalSurfaceId from the parent.
Unfortunately, this is a bit racy, because the primary Surface might not be available at time of aggregation. Instead, either the parent specifies both the fallback and primary LocalSurfaceId or we simply ask SurfaceAggregator which surfaces it included at aggregation time.
For example, SurfaceAggregator has a previous_contained_surfaces map that HitTestAggregator might use. It's currently keyed on full SurfaceIds but a simple refactor could allow us to look up by FrameSinkId.
Comment 1 by riajiang@chromium.org
, Mar 8 2018Components: -Blink>HitTesting Internals>Services>Viz
Labels: event-targeting OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Owner: riajiang@chromium.org
Status: Started (was: Assigned)