| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Could you fix build failures?
"blink_extensions_browsertest\.cc": [oops, I probably overlooked. `\` must be escaped.
`"blink_extensions_browsertest\\.cc"`
Ditto for below.
explicit ShapedWindowTargeter(const std::vector<gfx::Rect>& shape_rects);for slightly better performance, how about taking the arg by value, and std::move() in the ctor?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// A `WindowTargeter` for a window that uses a custom shape for hit-testing. The
// window shape is given by the intersection of `shape_rects`. Events outside
// the rectangles fall through to the next targeter in the chain.The comments here repeatedly state that the window shape is defined by the intersection of the rectangles. Shouldn't this be the union?
If a web developer passes multiple disjoint rectangles to setShape() to create a custom window outline, an intersection would evaluate to an empty region.
Suggest updating lines 18, 24, and 38 to say "union" instead of "intersection".
oops, I probably overlooked. `\` must be escaped.
`"blink_extensions_browsertest\\.cc"`
Ditto for below.
This CL no longer changes this file.
I uploaded https://crrev.com/c/7657724 to fix this line.
explicit ShapedWindowTargeter(const std::vector<gfx::Rect>& shape_rects);for slightly better performance, how about taking the arg by value, and std::move() in the ctor?
Done, thanks
// A `WindowTargeter` for a window that uses a custom shape for hit-testing. The
// window shape is given by the intersection of `shape_rects`. Events outside
// the rectangles fall through to the next targeter in the chain.The comments here repeatedly state that the window shape is defined by the intersection of the rectangles. Shouldn't this be the union?
If a web developer passes multiple disjoint rectangles to setShape() to create a custom window outline, an intersection would evaluate to an empty region.
Suggest updating lines 18, 24, and 38 to say "union" instead of "intersection".
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |