DescriptionAdd attachToWindow event to infobar observer
When a user switches tabs while the infobar container is showing,
its state is not saved and it is possible for events in the currently
active tab to reset reader mode's knowledge of the infobars. This
change introduces an event "onInfobarContainerAttachedToWindow" that
notifies observers when the infobar container is attached and if
it needs to show any infobars.
BUG=579036
Committed: https://crrev.com/272723546ec1414b2d6b28e511935a3a9b8141d1
Cr-Commit-Position: refs/heads/master@{#371634}
Patch Set 1 #
Total comments: 6
Patch Set 2 : address comments #
Total comments: 1
Patch Set 3 : nit #
Messages
Total messages: 14 (6 generated)
|