DescriptionKeep the original contents when showing the distilled one
This is one of the possible M-45 solutions for
http://crbug.com/504191. Unfortunately, it introduces
at most one non-leaking but unnecessary WebContents
per tab being held after the distillation was used on
the tab.
The proper solution discussed with mdjones@ involves
discarding the cached original page WebContents on any
navigation (except going back) and using it for the rapid
back-press.
Given that the direction for M-46 is to switch the Reader
Mode view to be an overlay (like CS) it is understood to be
unnecessary and unfeasible to complicate M-45, as this code
is going to be rewritten anyway.
BUG=504191
Committed: https://crrev.com/78c6498159eb896a150d50c502747d63915d107c
Cr-Commit-Position: refs/heads/master@{#338380}
Patch Set 1 #Patch Set 2 : Removed an unrelated change. #Patch Set 3 : Works with chrome://inspect. #Messages
Total messages: 14 (5 generated)
|