Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: content/renderer/render_frame_proxy.h

Issue 1785153005: Remove SiteIsolationPolicy::IsSwappedOutStateForbidden(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on ToT. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void WillBeginCompositorFrame(); 108 void WillBeginCompositorFrame();
109 109
110 // Out-of-process child frames receive a signal from RenderWidgetCompositor 110 // Out-of-process child frames receive a signal from RenderWidgetCompositor
111 // when a compositor frame has committed. 111 // when a compositor frame has committed.
112 void DidCommitCompositorFrame(); 112 void DidCommitCompositorFrame();
113 113
114 // Pass replicated information, such as security origin, to this 114 // Pass replicated information, such as security origin, to this
115 // RenderFrameProxy's WebRemoteFrame. 115 // RenderFrameProxy's WebRemoteFrame.
116 void SetReplicatedState(const FrameReplicationState& state); 116 void SetReplicatedState(const FrameReplicationState& state);
117 117
118 // Navigating a top-level frame cross-process does not swap the WebLocalFrame
119 // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame
120 // is not attached to the frame tree and there is no blink::Frame associated
121 // with it, so it is not in state where most operations on it will succeed.
122 bool IsMainFrameDetachedFromTree() const;
123
124 int routing_id() { return routing_id_; } 118 int routing_id() { return routing_id_; }
125 RenderViewImpl* render_view() { return render_view_; } 119 RenderViewImpl* render_view() { return render_view_; }
126 blink::WebRemoteFrame* web_frame() { return web_frame_; } 120 blink::WebRemoteFrame* web_frame() { return web_frame_; }
127 121
128 // Returns the widget used for the local frame root. 122 // Returns the widget used for the local frame root.
129 RenderWidget* render_widget() { return render_widget_; } 123 RenderWidget* render_widget() { return render_widget_; }
130 124
131 // blink::WebRemoteFrameClient implementation: 125 // blink::WebRemoteFrameClient implementation:
132 void frameDetached(DetachType type) override; 126 void frameDetached(DetachType type) override;
133 void postMessageEvent(blink::WebLocalFrame* sourceFrame, 127 void postMessageEvent(blink::WebLocalFrame* sourceFrame,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 184
191 RenderViewImpl* render_view_; 185 RenderViewImpl* render_view_;
192 RenderWidget* render_widget_; 186 RenderWidget* render_widget_;
193 187
194 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 188 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
195 }; 189 };
196 190
197 } // namespace 191 } // namespace
198 192
199 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 193 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698