Description[Win] Draw the circular avatar programmatically rather than with a frame.
On Linux, the OS theme can change, which affects the default background
colour of the avatar bubble. This means that using a frame overlay to
display the profile avatar as an image is not actually feasible.
This also adds a small change to the ClipPath function of gfx::Canvas,
to allow controlling the anti-aliasing option.
BUG=372721
TEST=Start Chrome with --new-profile-management. Click on the avatar button. The avatar should still be displayed as a circle.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272854
Patch Set 1 : #Patch Set 2 : add missing virtual keyword #
Messages
Total messages: 13 (0 generated)
|