• Francois Doray's avatar
    aura: Do not allow occlusion by shaped windows. · 3da2da6a
    Francois Doray authored
    Preivously, the shape of a window was not taken into account when
    computing occlusion state. A window with a shape that didn't fully
    cover its bounds could wrongly be considered to occlude another
    window underneath it.
    
    With this CL, shaped windows can't occlude other windows (similar
    to windows that are animated or not axis-aligned).
    
    Bug: 864508
    Change-Id: I01ff1afda438982964cdc2d786f37caaa03677be
    Reviewed-on: https://chromium-review.googlesource.com/1173318Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
    Commit-Queue: François Doray <fdoray@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#586011}
    3da2da6a
window_occlusion_tracker_unittest.cc 71.6 KB