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

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

Issue 1831233004: Remove unused code from RenderFrameProxyHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | content/browser/frame_host/render_frame_proxy_host.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_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void SetChildRWHView(RenderWidgetHostView* view); 89 void SetChildRWHView(RenderWidgetHostView* view);
90 90
91 // TODO(nasko): The following methods should be removed once we don't have a 91 // TODO(nasko): The following methods should be removed once we don't have a
92 // swapped out state on RenderFrameHosts. See https://crbug.com/357747. 92 // swapped out state on RenderFrameHosts. See https://crbug.com/357747.
93 RenderFrameHostImpl* render_frame_host() { 93 RenderFrameHostImpl* render_frame_host() {
94 return render_frame_host_.get(); 94 return render_frame_host_.get();
95 } 95 }
96 RenderViewHostImpl* GetRenderViewHost(); 96 RenderViewHostImpl* GetRenderViewHost();
97 RenderWidgetHostView* GetRenderWidgetHostView(); 97 RenderWidgetHostView* GetRenderWidgetHostView();
98 98
99 void TakeFrameHostOwnership(
100 scoped_ptr<RenderFrameHostImpl> render_frame_host);
101 scoped_ptr<RenderFrameHostImpl> PassFrameHostOwnership();
102
103 // IPC::Sender 99 // IPC::Sender
104 bool Send(IPC::Message* msg) override; 100 bool Send(IPC::Message* msg) override;
105 101
106 // IPC::Listener 102 // IPC::Listener
107 bool OnMessageReceived(const IPC::Message& msg) override; 103 bool OnMessageReceived(const IPC::Message& msg) override;
108 104
109 CrossProcessFrameConnector* cross_process_frame_connector() { 105 CrossProcessFrameConnector* cross_process_frame_connector() {
110 return cross_process_frame_connector_.get(); 106 return cross_process_frame_connector_.get();
111 } 107 }
112 108
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts 164 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts
169 // are associated with it. 165 // are associated with it.
170 RenderViewHostImpl* render_view_host_; 166 RenderViewHostImpl* render_view_host_;
171 167
172 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); 168 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost);
173 }; 169 };
174 170
175 } // namespace 171 } // namespace
176 172
177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 173 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_proxy_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698