| Index: content/renderer/render_frame_proxy.h
|
| diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h
|
| index 2afd45383e3138bae59fa209dda2b2acd06eeed1..b9e18fa0f052e288c38f982c1dc0c23a7d5acaa2 100644
|
| --- a/content/renderer/render_frame_proxy.h
|
| +++ b/content/renderer/render_frame_proxy.h
|
| @@ -26,6 +26,7 @@ namespace content {
|
| class ChildFrameCompositingHelper;
|
| class RenderFrameImpl;
|
| class RenderViewImpl;
|
| +struct FrameReplicationState;
|
|
|
| // When a page's frames are rendered by multiple processes, each renderer has a
|
| // full copy of the frame tree. It has full RenderFrames for the frames it is
|
| @@ -74,9 +75,11 @@ class CONTENT_EXPORT RenderFrameProxy
|
| // |parent_routing_id| always identifies a RenderFrameProxy (never a
|
| // RenderFrame) because a new child of a local frame should always start out
|
| // as a frame, not a proxy.
|
| - static RenderFrameProxy* CreateFrameProxy(int routing_id,
|
| - int parent_routing_id,
|
| - int render_view_routing_id);
|
| + static RenderFrameProxy* CreateFrameProxy(
|
| + int routing_id,
|
| + int parent_routing_id,
|
| + int render_view_routing_id,
|
| + const FrameReplicationState& replicated_state);
|
|
|
| // Returns the RenderFrameProxy for the given routing ID.
|
| static RenderFrameProxy* FromRoutingID(int routing_id);
|
| @@ -93,6 +96,10 @@ class CONTENT_EXPORT RenderFrameProxy
|
| // when a compositor frame has committed.
|
| void DidCommitCompositorFrame();
|
|
|
| + // Pass replicated information, such as security origin, to this
|
| + // RenderFrameProxy's WebRemoteFrame.
|
| + void SetReplicatedState(const FrameReplicationState& state);
|
| +
|
| int routing_id() { return routing_id_; }
|
| RenderViewImpl* render_view() { return render_view_; }
|
| blink::WebRemoteFrame* web_frame() { return web_frame_; }
|
|
|