Fix notification inline settings border on aero
We draw our own shadows on Windows if aero glass is enabled. Those shadows are drawn within the MessageView bounds, reducing the inner available size by GetInsets(). We need to take that into account when setting the preferred size of the header view, large image view and, more importantly, when clipping the ink drop ripple for the inline settings background. Screenshots: https://imgur.com/2LLCkGj Bug: None Change-Id: I8167da9b6881e1f10384044e2035bcb87847b7e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2396338Reviewed-by:Peter Beverloo <peter@chromium.org> Commit-Queue: Richard Knoll <knollr@chromium.org> Cr-Commit-Position: refs/heads/master@{#806936}
Showing
Please register or sign in to comment