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

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

Issue 660093003: Detach RemoteFrame from the tree when deleting RenderFrameProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused variable. Created 6 years, 2 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/basictypes.h" 8 #include "base/basictypes.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Out-of-process child frames receive a signal from RenderWidgetCompositor 92 // Out-of-process child frames receive a signal from RenderWidgetCompositor
93 // when a compositor frame has committed. 93 // when a compositor frame has committed.
94 void DidCommitCompositorFrame(); 94 void DidCommitCompositorFrame();
95 95
96 int routing_id() { return routing_id_; } 96 int routing_id() { return routing_id_; }
97 RenderViewImpl* render_view() { return render_view_; } 97 RenderViewImpl* render_view() { return render_view_; }
98 blink::WebRemoteFrame* web_frame() { return web_frame_; } 98 blink::WebRemoteFrame* web_frame() { return web_frame_; }
99 99
100 // blink::WebRemoteFrameClient implementation: 100 // blink::WebRemoteFrameClient implementation:
101 virtual void frameDetached();
101 virtual void postMessageEvent( 102 virtual void postMessageEvent(
102 blink::WebLocalFrame* sourceFrame, 103 blink::WebLocalFrame* sourceFrame,
103 blink::WebRemoteFrame* targetFrame, 104 blink::WebRemoteFrame* targetFrame,
104 blink::WebSecurityOrigin target, 105 blink::WebSecurityOrigin target,
105 blink::WebDOMMessageEvent event); 106 blink::WebDOMMessageEvent event);
106 virtual void initializeChildFrame( 107 virtual void initializeChildFrame(
107 const blink::WebRect& frame_rect, 108 const blink::WebRect& frame_rect,
108 float scale_factor); 109 float scale_factor);
109 virtual void navigate(const blink::WebURLRequest& request, 110 virtual void navigate(const blink::WebURLRequest& request,
110 bool should_replace_current_entry); 111 bool should_replace_current_entry);
(...skipping 25 matching lines...) Expand all
136 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 137 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
137 138
138 RenderViewImpl* render_view_; 139 RenderViewImpl* render_view_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 141 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
141 }; 142 };
142 143
143 } // namespace 144 } // namespace
144 145
145 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 146 #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