DescriptionFix docked browser window sometimes appears onscreen after restart
(Continuing from original cl https://codereview.chromium.org/1055893003 .)
Change IsMaximized() to return false if the window is in the dock, and
a unit test to make sure this is always the case. It turns out
-isZoomed can sometimes return YES for a docked window, which
sometimes results in the window becoming undocked on the next restart.
Please read the long entry in the bug report for a complete explanation
of how the change fixes the problem.
BUG=452976
Committed: https://crrev.com/900997341ee5c7076b345ce35c6644226a507f6d
Cr-Commit-Position: refs/heads/master@{#324079}
Patch Set 1 #Patch Set 2 : Revise unit test #
Messages
Total messages: 7 (2 generated)
|