[Extensions Activity Log] Persist stream data between tab changes
This CL modifies the behavior of tab switches in activity log where: 1) If a user switches from the stream tab to history tab, then back to the stream tab, the previous items in the stream should still be visible. 2) The stream is paused if the user navigates away from the stream tab. In order to accomplish this, some logic to manage the stream's state and its event listener was moved from activity_log_stream to activity_log. Bug: 932768 Change-Id: I1f6197533d099b4c643c05c5c7280f8ec2217b55 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601834 Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org> Reviewed-by:Esmael El-Moslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#659337}
Showing
Please register or sign in to comment