Chromium Code Reviews
DescriptionTrack if a panel is shown in onClosed and peekPanel
When a panel is requested to show, it may not be visible yet and
isShowing will return false. If two panels try to show simultaneously
this can cause the incorrect panel to appear. This change keeps track
of whether peek has been called so there can be a corresponding close
call, regardless of panel visibility. closePanel(...) and
requestPanelShow(...) are not used in every case that closes or opens
the panel; the close and peek methods are used instead.
BUG=624054, 623017
Committed: https://crrev.com/296d30ec054653d9affc1d68981b6c118683272d
Cr-Commit-Position: refs/heads/master@{#402843}
Patch Set 1 #Patch Set 2 : clean up #Patch Set 3 : rebase #
Total comments: 2
Patch Set 4 : nit #Messages
Total messages: 13 (6 generated)
|