DescriptionFix handling of minimized panel count
Increments and decrements of minimized panel count in the docking strip would not balance out in certain scenarios, e.g.:
- if you add a panel that is already minimized (the count was incremented before the panel is added, sometimes causing a DCHECK to fire)
- if you minimize a panel that is in "temporary layout"
- if a panel's expansion state is changed when it is not in the docked strip (that is very hard to guard against, since a panel can jump into the overflow strip as a side effect of many operations)
Changed the handling of minimized panel count to be more bullet-proof; added a test
BUG=113682
TEST=PanelOverflowBrowserTest::AddMinimizedTillOverflow()
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126966
Patch Set 1 #Patch Set 2 : test changed #
Total comments: 12
Patch Set 3 : fix limux compile warning #
Total comments: 3
Patch Set 4 : #
Total comments: 2
Patch Set 5 : comment #
Messages
Total messages: 8 (0 generated)
|