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

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

Issue 505443002: Move DisownOpener to RenderFrameHost / RenderFrameProxyHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); 99 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view);
100 100
101 // IPC::Listener 101 // IPC::Listener
102 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 102 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
103 103
104 // IPC handlers 104 // IPC handlers
105 void OnDeleteProxy(); 105 void OnDeleteProxy();
106 void OnChildFrameProcessGone(); 106 void OnChildFrameProcessGone();
107 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); 107 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params);
108 void OnCompositorFrameSwapped(const IPC::Message& message); 108 void OnCompositorFrameSwapped(const IPC::Message& message);
109 void OnDisownOpener();
109 110
110 // The routing ID by which this RenderFrameProxy is known. 111 // The routing ID by which this RenderFrameProxy is known.
111 const int routing_id_; 112 const int routing_id_;
112 113
113 // The routing ID of the local RenderFrame (if any) which this 114 // The routing ID of the local RenderFrame (if any) which this
114 // RenderFrameProxy is meant to replace in the frame tree. 115 // RenderFrameProxy is meant to replace in the frame tree.
115 const int frame_routing_id_; 116 const int frame_routing_id_;
116 117
117 // Stores the WebRemoteFrame we are associated with. 118 // Stores the WebRemoteFrame we are associated with.
118 blink::WebRemoteFrame* web_frame_; 119 blink::WebRemoteFrame* web_frame_;
119 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 120 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
120 121
121 RenderViewImpl* render_view_; 122 RenderViewImpl* render_view_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 124 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
124 }; 125 };
125 126
126 } // namespace 127 } // namespace
127 128
128 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 129 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698