
This CL modifies HostZoomMapImpl and WebContentsImpl to allow independent zoom for subframes. This is needed for the conversion to MPArch Guestviews as they won't have their own WebContents. In this CL that is limited to <webview> and GuestView subframes, but it will be extended to work with the extensions zoom API and PDFs rendered with OOPIFs instead of GuestViews. Bug: 376084060 Change-Id: I52e049f2f7aa47d551e1e3aa9a7f85275db08d94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6148714 Commit-Queue: James Maclean <wjmaclean@chromium.org> Reviewed-by: Elly FJ <ellyjones@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/main@{#1408705}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: