• Yi Gu's avatar
    [VizHitTesting] Ignore kHitTestAsk for root_view in V2 · 668ce807
    Yi Gu authored
    When building hit test data for v2, root_view could be overlapped by
    ui::Layers on CrOS which it shouldn't. This leads to all hit testing
    on CrOS with v2 hit test data becoming async.
    
    This patch ignores the kHitTestAsk flag for root if it was caused by
    being overlapped. The best way to fix this is not setting the flag
    upon building the hit test data in LTHI. Will try to do that in a
    follow up patch.
    
    Bug: 999576, 996865
    Change-Id: I84ad8fa6a732f52a9bc2f40149954562da5ef69a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787118
    Commit-Queue: Yi Gu <yigu@chromium.org>
    Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#693929}
    668ce807
hit_test_query.h 6.55 KB