Chromium Code Reviews
DescriptionShowing previews UI for Offline Previews
This changes the functionality of is_offline_preview() in
OfflinePageTabHelper to check the provisional information as well.
Additionally, this CL addresses other consumers of this information that
want access to it in DidFinishNavigation. Specifically,
PreviewsPageLoadMetricsObserver will access the is_offline_previews bit
as will PreviewsInfoBarHelper.
This also prevents showing the offline pages snackbar and replaces it
with
the previews infobar. This leaves the Offline omnibox and other UI
features.
This is a re-land of https://codereview.chromium.org/2362033002/
BUG=615564, 649148
TBR=bmcquade
Committed: https://crrev.com/ad9e85d3ae876b9531b7850d120a3f363ea0ad34
Cr-Commit-Position: refs/heads/master@{#428409}
Patch Set 1 : Last CL landed (https://codereview.chromium.org/2362033002/) #Patch Set 2 : fix #
Total comments: 1
Patch Set 3 : fgorski comment #Depends on Patchset: Messages
Total messages: 23 (17 generated)
|