commit | 3699c35ffce1531b142c2be9614175b92024006b | [log] [tgz] |
---|---|---|
author | Sreeja Kamishetty <sreejakshetty@chromium.org> | Fri Feb 12 15:10:58 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 12 15:10:58 2021 |
tree | e9d708829a1436eabf417e818895d6a109135a6a | |
parent | 7d4d6d46aba3055421b84fce0cca4c87feeb2de5 [diff] |
Prerendering: Add is_prerendering bit to WebContents::CreateParams To differentiate if a WebContents and FrameTree is created for prerendering or not. This CL adds |is_prerendering| to the CreateParams which is then passed down to FrameTree::Init to assign the FrameTree::is_prerendering_ bit to true. We also update set_is_prerendering to ActivatePrerenderedFrameTree where the is_prerendering_ bit is set to false with calling RenderFrameHostImpl::OnPrerenderedPageActivated(). BUG=1177225 Change-Id: I8de34b8b558c60f6bab4b509c2443e1014c4083e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2689551 Commit-Queue: Sreeja Kamishetty <sreejakshetty@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#853521}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.