[WebLayer] Previews code moves to PageInfoControllerDelegate.
Previews/Lite Mode is a series of optimizations that Chrome may use to optimize webpages that load slowly. It is only enabled for Lite Mode users (see Settings > Lite Mode) which is only supported on Chrome Android. This is a Chrome-specific feature which WebLayer doesn't intend to support for now. The overlap with Page Info UI is that in lite mode/Previews, we change the security strings in the Page Info Dialog to convey that the page is a Google-served preview/lite version of the actual page. Moving this change to a Chrome-specific delegate implementation allows PageInfoController to not depend on this, and eventually be componentized for reuse by WebLayer. Bug: 1052375 Change-Id: Ice09ed10af2358c5a943fe6e05e15caa0533b185 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144015 Commit-Queue: Mugdha Lakhani <nator@chromium.org> Reviewed-by:Robert Ogden <robertogden@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#759352}
Showing
This diff is collapsed.
Please register or sign in to comment