Add 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 Review URL: https://codereview.chromium.org/1639673002 Cr-Commit-Position: refs/heads/master@{#371634}
Showing
Please register or sign in to comment