commit | 969a794e014a8851806cc6792d7b453a070c1de7 | [log] [tgz] |
---|---|---|
author | Arthur Sonzogni <[email protected]> | Thu Oct 11 08:56:09 2018 |
committer | Commit Bot <[email protected]> | Thu Oct 11 08:56:09 2018 |
tree | 4f1ff3e1111ca116be0fbff66f2e3dd627252015 | |
parent | 6fb1a0860e442c7f9707c2003d219cb03b3dff81 [diff] |
Replace FTN::IsDescendantOf by RFH::IsDescendantOf A FrameTreeNode hosts several RenderFrameHost like: * The current RenderFrameHost. * The future one that is loading but hasn't committed yet. * The ones pending deletion. On its turn a RenderFrameHost contains several children frames, represented by FrameTreeNode. This CL replace FTN::IsDescendantOf by RFH::IsDescendantOf. * The new form of IsDescendantOf is used in follow up CLs. * In the case of one RenderFrameHost being pending deletion, the meaning is a bit different. For instance during a navigation from A(B) to C. Both RenderFrameHost A and C are on the same FrameTreeNode. The FrameTreeNode of B is a child of the FrameTreeNode of C, but B is not a child of C, only a child of A. Add a content/public API so that embedders won't have to manually iterate on RenderFrameHost::GetParent() themselves to get this information. This will be used in a follow-up CL. Bug: 609963 Change-Id: Iedb4a7acf17c7782cd9e91dd529a2736c1fd51d4 Reviewed-on: https://chromium-review.googlesource.com/c/1269874 Commit-Queue: Arthur Sonzogni <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Cr-Commit-Position: refs/heads/master@{#598702}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .