DescriptionChanges to RenderFrameProxy:
- Add accessors: web_frame(), routing_id(), render_view().
- Remove accessor: render_frame(). Where we do need to touch the
RenderFrame, we'll look it up by its routing ID.
- Small change to the CompositingHelper to use the new getters.
- Add a map to allow finding a RenderFrameProxy by its associated
blink::WebFrame.
- Introduce a second factory function and differentiate the two
factory functions according to the two ways RenderFrameProxies will
be created. The first is for when an extant local RenderFrame is
being swapped out and replaced with a new RenderFrameProxy. The
second is for when a RenderFrameProxy needs to be created without
displacing an existing RenderFrame, as shall occur once we mirror
the frame tree.
- This second factory function, which is uncalled at the moment, will
create WebRemoteFrames. Also there is stubbed out code in the first
factory function to create WebRemoteFrames. This code is in
preparation for eliminating the RenderFrame (and its attendant
WebLocalFrame) and having instead just a RenderFrameProxy.
- Add some defensive checks to prepare for when the render frame may
not exist, as will happen once the second factory function
enters use.
- Add an Init function so that code can be shared between the two
factory functions.
As an adminstrative note, this patch is a chunk of nasko's
larger "use RenderFrameProxyHost" effor (issue 241223002)
BUG=357747
TEST=browsertests, http://csreis.github.io/tests/cross-site-iframe.html renders after going cross-site under --site-per-process
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283572
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283965
Patch Set 1 #Patch Set 2 : Little more hacking #Patch Set 3 : Make content_browsertests pass #Patch Set 4 : More cleanup #Patch Set 5 : More self-review #Patch Set 6 : More self-review and cleanup #
Total comments: 16
Patch Set 7 : address some comments #Patch Set 8 : Call close() #
Total comments: 6
Patch Set 9 : Use RenderFrameImpl* instead of a routing ID #Patch Set 10 : Fix bug that caused patch to be reverted #Patch Set 11 : Accidentally a brace #Patch Set 12 : Add comment. #
Messages
Total messages: 24 (0 generated)
|