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

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

Issue 1312643002: Plumb opener information when creating RenderFrames and RenderFrameProxies for subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-CreateOpenerProxiesIfNeeded
Patch Set: Add NewFrameProxy plumbing and test Created 5 years, 3 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
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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void AccessibilityHitTest(const gfx::Point& point) override; 190 void AccessibilityHitTest(const gfx::Point& point) override;
191 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override; 191 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override;
192 void AccessibilityFatalError() override; 192 void AccessibilityFatalError() override;
193 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 193 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
194 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 194 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
195 195
196 // Creates a RenderFrame in the renderer process. Only called for 196 // Creates a RenderFrame in the renderer process. Only called for
197 // cross-process subframe navigations in --site-per-process. 197 // cross-process subframe navigations in --site-per-process.
198 bool CreateRenderFrame(int parent_routing_id, 198 bool CreateRenderFrame(int parent_routing_id,
199 int previous_sibling_routing_id, 199 int previous_sibling_routing_id,
200 int proxy_routing_id); 200 int proxy_routing_id,
201 int opener_routing_id);
201 202
202 // Tracks whether the RenderFrame for this RenderFrameHost has been created in 203 // Tracks whether the RenderFrame for this RenderFrameHost has been created in
203 // the renderer process. This is currently only used for subframes. 204 // the renderer process. This is currently only used for subframes.
204 // TODO(creis): Use this for main frames as well when RVH goes away. 205 // TODO(creis): Use this for main frames as well when RVH goes away.
205 void SetRenderFrameCreated(bool created); 206 void SetRenderFrameCreated(bool created);
206 207
207 // Called for renderer-created windows to resume requests from this frame, 208 // Called for renderer-created windows to resume requests from this frame,
208 // after they are blocked in RenderWidgetHelper::CreateNewWindow. 209 // after they are blocked in RenderWidgetHelper::CreateNewWindow.
209 void Init(); 210 void Init();
210 211
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 781
781 // NOTE: This must be the last member. 782 // NOTE: This must be the last member.
782 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 783 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
783 784
784 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 785 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
785 }; 786 };
786 787
787 } // namespace content 788 } // namespace content
788 789
789 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 790 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698