DescriptionMac: Give bubble windows an initial position before showing them.
Otherwise initialization that occurs offscreen can load incorrect screen
metric information. E.g. a RenderView will assume it is on the primary
display when loaded in a bubble, which results in it being created with
an incorrect scale factor in some screen setups.
This CL adds a call to -[BaseBubbleController setAnchorPosition] in the
non-NIB initializer to give the window a good estimate of the position
it will eventually be shown at.
BUG=324748
Committed: https://crrev.com/41a9426745a734139f7d8442a83efe2153e63516
Cr-Commit-Position: refs/heads/master@{#295625}
Patch Set 1 #
Total comments: 2
Patch Set 2 : -comments #Patch Set 3 : probably needs a rebase #Patch Set 4 : setAnchorPoint #
Messages
Total messages: 11 (4 generated)
|