cc layers now supply viz with hit test data, but it is not aware of the information of pointer-events: none. We want to instead of using draws_content || hit_testable_without_drawing, use a bool bit hit_testable to represent whether the layer is hit testable.
The bool will be set by blink and hit_testable = (draws_content || hit_testable_without_drawing) && (style.pointerEvents != None) && (!inert).
We also need to change cc::SurfaceLayer's hit_testable bit to a more specific name surface_hit_testable for disambiguation.
Comment 1 by bugdroid1@chromium.org
, May 14 2018