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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1567903002: [Test - Do Not Commit] Stop blocking requests for new windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge onto #371523 Created 4 years, 10 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 | « no previous file | content/browser/frame_host/render_frame_host_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 bool CreateRenderFrame(int proxy_routing_id, 210 bool CreateRenderFrame(int proxy_routing_id,
211 int opener_routing_id, 211 int opener_routing_id,
212 int parent_routing_id, 212 int parent_routing_id,
213 int previous_sibling_routing_id); 213 int previous_sibling_routing_id);
214 214
215 // Tracks whether the RenderFrame for this RenderFrameHost has been created in 215 // Tracks whether the RenderFrame for this RenderFrameHost has been created in
216 // the renderer process. This is currently only used for subframes. 216 // the renderer process. This is currently only used for subframes.
217 // TODO(creis): Use this for main frames as well when RVH goes away. 217 // TODO(creis): Use this for main frames as well when RVH goes away.
218 void SetRenderFrameCreated(bool created); 218 void SetRenderFrameCreated(bool created);
219 219
220 // Called for renderer-created windows to resume requests from this frame,
221 // after they are blocked in RenderWidgetHelper::CreateNewWindow.
222 void Init();
223
224 int routing_id() const { return routing_id_; } 220 int routing_id() const { return routing_id_; }
225 void OnCreateChildFrame( 221 void OnCreateChildFrame(
226 int new_routing_id, 222 int new_routing_id,
227 blink::WebTreeScopeType scope, 223 blink::WebTreeScopeType scope,
228 const std::string& frame_name, 224 const std::string& frame_name,
229 blink::WebSandboxFlags sandbox_flags, 225 blink::WebSandboxFlags sandbox_flags,
230 const blink::WebFrameOwnerProperties& frame_owner_properties); 226 const blink::WebFrameOwnerProperties& frame_owner_properties);
231 227
232 RenderViewHostImpl* render_view_host() { return render_view_host_; } 228 RenderViewHostImpl* render_view_host() { return render_view_host_; }
233 RenderFrameHostDelegate* delegate() { return delegate_; } 229 RenderFrameHostDelegate* delegate() { return delegate_; }
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 888
893 // NOTE: This must be the last member. 889 // NOTE: This must be the last member.
894 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 890 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
895 891
896 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 892 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
897 }; 893 };
898 894
899 } // namespace content 895 } // namespace content
900 896
901 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 897 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698